forked from extern/the-glorious-startpage
suggestion css update: hide suggestions if theres no space left
This commit is contained in:
parent
0e77df2d57
commit
13b0c7c816
@ -88,7 +88,7 @@
|
||||
background: var(--base-active-bg);
|
||||
}
|
||||
|
||||
@media screen and (max-height: 539px) {
|
||||
@media screen and (max-height: 539px) and (min-height: 341px) {
|
||||
|
||||
#suggestions {
|
||||
height: auto;
|
||||
@ -97,7 +97,7 @@
|
||||
|
||||
/*The Li*/
|
||||
#phrase {
|
||||
/*Always stack and center horizontally*/
|
||||
/*Always stack and center horizontally*/
|
||||
display: inline-block !important;
|
||||
width: auto !important;
|
||||
text-align: center !important;
|
||||
@ -107,4 +107,12 @@
|
||||
padding: 0;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 340px) {
|
||||
|
||||
#suggestionsContainer {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user