Fix dropdown behavior.

This commit is contained in:
Yaro Kasear 2025-12-31 08:48:35 -06:00
parent d2061f5c1c
commit 6f175c103e
3 changed files with 68 additions and 23 deletions

View file

@ -25,7 +25,7 @@
}
.grid-widget [data-canvas] {
z-index: 9999;
z-index: 1;
pointer-events: none;
inset: 0;
}
@ -38,7 +38,7 @@
.grid-widget [data-dot] {
transform: translate(-50%, -50%);
z-index: 10000;
z-index: 2;
pointer-events: none;
}
@ -46,7 +46,7 @@
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
overflow-y: visible;
gap: .5rem;
align-items: center;
}
@ -57,6 +57,26 @@
flex: 0 0 120px;
}
.grid-widget .dropdown-menu {
z-index: 2000;
min-width: 220px;
padding: .5rem .75rem;
border-radius: .5rem;
}
.grid-widget .dropdown-menu > *:first-child {
margin-top: 0;
}
.grid-widget .dropdown-menu > *:last-child {
margin-bottom: 0;
}
.grid-widget .dropdown-menu .form-range {
width: 100%;
margin: 0;
}
.grid-widget [data-toolbar] .badge,
.grid-widget [data-toolbar] .input-group-text {
white-space: nowrap;