Merge branch 'fixes-roundup4' into shigusegubu-themes3

This commit is contained in:
Henry Jameson 2025-02-20 15:15:47 +02:00
commit d95eb5be85
3 changed files with 13 additions and 3 deletions

View file

@ -7,7 +7,8 @@
position: fixed; position: fixed;
min-width: 0; min-width: 0;
max-width: calc(100vw - 20px); max-width: calc(100vw - 20px);
box-shadow: var(--shadow);
--_shadow: var(--shadow);
} }
.popover-default { .popover-default {
@ -19,7 +20,7 @@
left: -1px; left: -1px;
right: -1px; right: -1px;
z-index: -1px; z-index: -1px;
box-shadow: var(--shadow); box-shadow: var(--_shadow);
pointer-events: none; pointer-events: none;
} }

View file

@ -537,7 +537,7 @@ export const init = ({
// Optimization: we only really need combinations without "normal" because all states implicitly have it // Optimization: we only really need combinations without "normal" because all states implicitly have it
const permutationStateKeys = Object.keys(states).filter(s => s !== 'normal') const permutationStateKeys = Object.keys(states).filter(s => s !== 'normal')
const stateCombinations = onlyNormalState const stateCombinations = (onlyNormalState && !virtualComponents.has(component.name))
? [ ? [
['normal'] ['normal']
] ]

View file

@ -167,3 +167,12 @@ Tab:hover:active {
TopBar Link { TopBar Link {
textColor: #ffffff textColor: #ffffff
} }
MenuItem:hover {
background: --fg
}
Popover {
shadow: --buttonDefaultBevel, 5 5 0 0 #000000 / 0.2;
roundness: 0
}