mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-05-24 01:14:01 +00:00
fix: position custom select dropdown absolutely to prevent modal height stretching
This commit is contained in:
parent
37aaf31904
commit
efab565100
@ -1312,13 +1312,14 @@ input:checked + .switch-slider:before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.custom-select-dropdown {
|
.custom-select-dropdown {
|
||||||
position: static;
|
position: absolute;
|
||||||
|
z-index: 100;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: rgba(25, 25, 25, 0.95);
|
background-color: rgba(25, 25, 25, 0.95);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user