bz-select improvements

This commit is contained in:
STEINNI
2025-10-21 08:37:47 +00:00
parent a5733361b9
commit 3b3127b5f2
2 changed files with 17 additions and 6 deletions

View File

@@ -29,9 +29,16 @@ bz-select > button::after {
font-size: 1.5em;
color: #444;
}
bz-select > div.options-container{
position: absolute;
top: 100%;
left: 0;
width: 100%;
z-index: 99;
}
bz-select option{
background-color: #DDD;
border: 1px solid black;
color: #000;
padding: 0.2em .2em .3em .5em;
margin: -1em 0 0 0;
@@ -46,7 +53,7 @@ bz-select option{
opacity 0.3s ease;
}
bz-select option.open{
margin: 2px 0 0 0;
margin: 0;
opacity: 1;
pointer-events: auto;
}