mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 01:07:04 +00:00
fix(ui): stabilize dropdown menu item layout
This commit is contained in:
@@ -58,6 +58,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="dropdown-menu-checkbox-item"],
|
||||
[data-slot="dropdown-menu-radio-item"] {
|
||||
padding-right: 28px;
|
||||
}
|
||||
|
||||
[data-slot="dropdown-menu-sub-trigger"] {
|
||||
&[data-expanded] {
|
||||
background: var(--surface-raised-base-hover);
|
||||
@@ -70,6 +75,10 @@
|
||||
justify-content: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
[data-slot="dropdown-menu-item-label"] {
|
||||
|
||||
Reference in New Issue
Block a user