dynamic menu dimensions improved

This commit is contained in:
Mic 2024-09-26 21:48:55 +02:00
parent 5cb30331d4
commit bd31083fd4

View file

@ -1,22 +1,21 @@
body { body {
background-color: #FAFAFA; background-color: #FAFAFA;
font-size: 14px; font-size: 14px;
padding: 0; padding: 1px;
margin:3px; margin:3px;
} }
#mzta_search_banner{ #mzta_search_banner{
background-color: #FAFAFA; background-color: #FAFAFA;
color:black; color:black;
width: fit-content;
height: fit-content;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
position: relative; position: relative;
width: 10em; height: fit-content;
max-height: 13em; width: 15em;
max-height: 23em;
min-height: 1em; min-height: 1em;
padding: 0; padding: 0;
} }
@ -33,16 +32,17 @@ body {
#_spacer_div{ #_spacer_div{
width: 100%; width: 100%;
height: 2.1em; height: 2.2em;
} }
#mzta_autocomplete-items { #mzta_autocomplete-items {
border: none; border: none;
z-index: 1000; z-index: 1000;
background-color: #FAFAFA; background-color: #FAFAFA;
width: 10em; width: 100%;
overflow-y: auto; overflow-y: auto;
padding: 0; padding: 0;
overflow-x: hidden;
} }
.mzta_autocomplete-item { .mzta_autocomplete-item {