mirror of
https://github.com/penpot/penpot.git
synced 2025-02-28 17:56:50 -05:00
🐛 Fix height of combobox label (#5944)
This commit is contained in:
parent
bffbccac50
commit
dfd5c5b508
2 changed files with 6 additions and 1 deletions
|
@ -198,7 +198,7 @@
|
||||||
[:div {:class (stl/css :edit-theme-inputs-wrapper)}
|
[:div {:class (stl/css :edit-theme-inputs-wrapper)}
|
||||||
[:div {:class (stl/css :group-input-wrapper)}
|
[:div {:class (stl/css :group-input-wrapper)}
|
||||||
[:label {:for "groups-dropdown" :class (stl/css :label)}
|
[:label {:for "groups-dropdown" :class (stl/css :label)}
|
||||||
[:span (tr "workspace.token.label.group")]
|
[:span {:class (stl/css :main-label)} (tr "workspace.token.label.group")]
|
||||||
[:span {:class (stl/css :label-optional)} (dm/str "(" "" (tr "workspace.token.label.group-optional") "" ")")]]
|
[:span {:class (stl/css :label-optional)} (dm/str "(" "" (tr "workspace.token.label.group-optional") "" ")")]]
|
||||||
[:> combobox* {:id (dm/str "groups-dropdown")
|
[:> combobox* {:id (dm/str "groups-dropdown")
|
||||||
:placeholder (tr "workspace.token.label.group-placeholder")
|
:placeholder (tr "workspace.token.label.group-placeholder")
|
||||||
|
|
|
@ -205,10 +205,15 @@
|
||||||
.label {
|
.label {
|
||||||
@include t.use-typography("body-small");
|
@include t.use-typography("body-small");
|
||||||
@include textEllipsis;
|
@include textEllipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-label {
|
||||||
|
@include t.use-typography("body-small");
|
||||||
color: var(--color-foreground-primary);
|
color: var(--color-foreground-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.label-optional {
|
.label-optional {
|
||||||
|
@include t.use-typography("body-small");
|
||||||
margin-inline-start: 1ex;
|
margin-inline-start: 1ex;
|
||||||
color: var(--color-foreground-secondary);
|
color: var(--color-foreground-secondary);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue