0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-28 09:46:51 -05:00

🐛 Fix height of combobox label (#5944)

This commit is contained in:
Eva Marco 2025-02-26 16:54:28 +01:00 committed by GitHub
parent bffbccac50
commit dfd5c5b508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -198,7 +198,7 @@
[:div {:class (stl/css :edit-theme-inputs-wrapper)}
[:div {:class (stl/css :group-input-wrapper)}
[: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") "" ")")]]
[:> combobox* {:id (dm/str "groups-dropdown")
:placeholder (tr "workspace.token.label.group-placeholder")

View file

@ -205,10 +205,15 @@
.label {
@include t.use-typography("body-small");
@include textEllipsis;
}
.main-label {
@include t.use-typography("body-small");
color: var(--color-foreground-primary);
}
.label-optional {
@include t.use-typography("body-small");
margin-inline-start: 1ex;
color: var(--color-foreground-secondary);
}