fix transparent popovers

This commit is contained in:
Henry Jameson 2024-04-04 22:45:13 +03:00
parent 8ead084421
commit c0010d0f48
2 changed files with 6 additions and 3 deletions

View File

@ -14,14 +14,14 @@
--ZI_navbar_popovers: 7500;
--ZI_navbar: 7000;
--ZI_popovers: 6000;
// Fallback for when stuff is loading
--background: var(--bg);
}
html {
font-size: var(--font-size);
// overflow-x: clip causes my browser's tab to crash with SIGILL lul
// Fallback for when stuff is loading
--background: var(--bg);
}
body {
@ -410,6 +410,7 @@ nav {
width: 100%;
line-height: var(--__line-height);
padding: var(--__vertical-gap) var(--__horizontal-gap);
background: transparent;
--__line-height: 1.5em;
--__horizontal-gap: 0.75em;

View File

@ -71,6 +71,7 @@
border-color: var(--border);
border-style: solid;
border-width: 1px;
background-color: var(--background);
}
.dropdown-menu {
@ -82,6 +83,7 @@
max-width: 100vw;
z-index: var(--ZI_popover_override, var(--ZI_popovers));
white-space: nowrap;
background-color: var(--background);
.dropdown-divider {
height: 0;