diff --git a/static/css/auto-complete.css b/static/css/auto-complete.css index 7b99273717..8f9d33df77 100644 --- a/static/css/auto-complete.css +++ b/static/css/auto-complete.css @@ -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; diff --git a/static/css/theme.css b/static/css/theme.css index 39208a0b55..20e0c67af1 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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; }