bz-select closes his bros

This commit is contained in:
STEINNI
2025-10-21 10:09:09 +00:00
parent 3b3127b5f2
commit 1635823627
2 changed files with 20 additions and 3 deletions

View File

@@ -30,12 +30,17 @@ bz-select > button::after {
color: #444;
}
bz-select > div.options-container{
pointer-events: none;
position: absolute;
top: 100%;
top: 2em;
left: 0;
width: 100%;
z-index: 99;
max-height: 0;
overflow: auto;
transition: max-height 0.4s ease;
}
bz-select > div.options-container.open{ pointer-events: auto; max-height: 10em;}
bz-select option{
background-color: #DDD;
border: 1px solid black;