fix(ui): add dropdown scrollbars

cx
This commit is contained in:
vicrodh committed 2026-01-19 22:14:11 -06:00
1 parent 0e5026fa08
commit a3e2068929
5 files changed
+103

No files matched your search

+19
View File
@@ -115,6 +115,25 @@
z-index: 10000;
max-height: 300px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--text-muted) transparent;
}
.menu::-webkit-scrollbar {
width: 8px;
}
.menu::-webkit-scrollbar-track {
background: transparent;
}
.menu::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 9999px;
}
.menu::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary);
}
.menu.expand-left {
+21
View File
@@ -854,6 +854,27 @@
padding: 6px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
z-index: 10000;
max-height: 260px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--text-muted) transparent;
}
.dropdown-menu::-webkit-scrollbar {
width: 8px;
}
.dropdown-menu::-webkit-scrollbar-track {
background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 9999px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary);
}
.menu-item {
@@ -1724,6 +1724,27 @@
padding: 6px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
z-index: 10;
max-height: 260px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--text-muted) transparent;
}
.dropdown-menu::-webkit-scrollbar {
width: 8px;
}
.dropdown-menu::-webkit-scrollbar-track {
background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 9999px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary);
}
.dropdown-item {
@@ -3044,6 +3044,27 @@
min-width: 180px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
z-index: 20;
max-height: 260px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--text-muted) transparent;
}
.dropdown-menu::-webkit-scrollbar {
width: 8px;
}
.dropdown-menu::-webkit-scrollbar-track {
background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 9999px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary);
}
.dropdown-item {
@@ -762,6 +762,27 @@
min-width: 140px;
z-index: 100;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
max-height: 260px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--text-muted) transparent;
}
.dropdown-menu::-webkit-scrollbar {
width: 8px;
}
.dropdown-menu::-webkit-scrollbar-track {
background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
background: var(--text-muted);
border-radius: 9999px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary);
}
.dropdown-item {