mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
auto-complete: switch to em units #466
This commit is contained in:
parent
4b7409f31c
commit
959ed155c4
2 changed files with 6 additions and 6 deletions
|
@ -10,8 +10,8 @@
|
|||
position: absolute;
|
||||
display: none;
|
||||
z-index: 9999;
|
||||
max-height: 150px;
|
||||
max-height: calc( 100vh - 150px );
|
||||
max-height: 10em;
|
||||
max-height: calc( 100vh - 10em );
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
|
@ -19,8 +19,8 @@
|
|||
.autocomplete-suggestion {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
padding: 7px;
|
||||
line-height: 23px;
|
||||
padding: .46em;
|
||||
line-height: 1.5em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -51,7 +51,7 @@
|
|||
}
|
||||
|
||||
.autocomplete-suggestion > .context {
|
||||
font-size: 12px;
|
||||
font-size: .7869em;
|
||||
margin-inline-start: 1em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -430,7 +430,7 @@ body:not(.print) #body-inner.narrow h1 {
|
|||
border-bottom: 4px solid rgba( 134, 134, 134, .125 );
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
@media only screen and (min-width: 48em) and (max-width: 60rem) {
|
||||
@media only screen and (min-width: 48rem) and (max-width: 60rem) {
|
||||
body:not(.print) #body-inner.narrow h1 {
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue