suggestion css update: hide suggestions if theres no space left

This commit is contained in:
Gerome Matilla 2020-06-06 16:39:35 +08:00
parent 0e77df2d57
commit 13b0c7c816

View File

@ -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;
}
}