style(dropdown): set fixed width 170px for trigger and menu
- Trigger width: fixed 170px (was min-width: 160px, width: 100%) - Menu min-width: 170px (matches trigger) - Wide variant: 280px fixed width
This commit is contained in:
1 parent
a2dc496cc1
commit
b21979180e
1 file changed
+3
-4
@@ -126,8 +126,7 @@
|
||||
|
||||
.trigger {
|
||||
height: 40px;
|
||||
min-width: 160px;
|
||||
width: 100%;
|
||||
width: 170px;
|
||||
padding: 0 16px;
|
||||
background-color: var(--bg-tertiary);
|
||||
border-radius: 8px;
|
||||
@@ -143,7 +142,7 @@
|
||||
}
|
||||
|
||||
.dropdown.wide .trigger {
|
||||
min-width: 280px;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.value-text {
|
||||
@@ -168,7 +167,7 @@
|
||||
top: 100%;
|
||||
left: 0;
|
||||
margin-top: 4px;
|
||||
min-width: 200px;
|
||||
min-width: 170px;
|
||||
width: max-content;
|
||||
background-color: var(--bg-tertiary);
|
||||
border-radius: 8px;
|
||||
|
||||
Reference in new issue
Block a user