mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-12-01 17:33:35 +03:00
Better scroll-bars for the TopNav dropdowns
This commit is contained in:
1 parent
4cf963e377
commit
4ddc67a99e
1 file changed
+8
@@ -362,6 +362,9 @@
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
overflow-x: visible;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: color-mix(in srgb, var(--color-primary), transparent 10%) transparent;
|
||||
}
|
||||
|
||||
.dropdown-link {
|
||||
@@ -514,6 +517,11 @@
|
||||
pointer-events: auto;
|
||||
white-space: normal;
|
||||
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: color-mix(in srgb, var(--color-primary), transparent 10%) transparent;
|
||||
|
||||
// Smart positioning: try right first, auto-fallback to left
|
||||
left: calc(100% + 0.5rem);
|
||||
transform-origin: left center;
|
||||
|
||||
Reference in new issue
Block a user