mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
fix(shared-ui): fix transparent context menu background
Use existing --color-surface-elevated CSS variable instead of non-existent --color-surface-elevated-3. Add box-shadow for depth. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c0c64aa2cb
commit
55e4f7b5cc
1 changed files with 4 additions and 1 deletions
|
|
@ -169,9 +169,12 @@
|
|||
min-width: 180px;
|
||||
max-width: 280px;
|
||||
padding: 0.375rem;
|
||||
background: var(--color-surface-elevated-3);
|
||||
background: hsl(var(--color-surface-elevated));
|
||||
border: 1px solid hsl(var(--color-border));
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow:
|
||||
0 4px 16px rgba(0, 0, 0, 0.15),
|
||||
0 1px 4px rgba(0, 0, 0, 0.1);
|
||||
/* Ensure menu can receive events even when parent has pointer-events: none */
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue