diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 1a527bf5c..2296166f2 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -139,12 +139,6 @@ textarea, color: var(--muted-text-color); } -/* Restore default apperance */ -input[type="number"], -input[type="checkbox"] { - appearance: auto !important; -} - /* Add a gap between consecutive radios / check boxes */ label.tn-radio + label.tn-radio, label.tn-checkbox + label.tn-checkbox { diff --git a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts index 523bfe903..8895d5e42 100644 --- a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts +++ b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts @@ -53,12 +53,19 @@ const TPL = /*html*/` word-break:keep-all; white-space: nowrap; } + .promoted-attribute-cell input[type="checkbox"] { width: 22px !important; flex-grow: 0; width: unset; } + /* Restore default apperance */ + .promoted-attribute-cell input[type="number"], + .promoted-attribute-cell input[type="checkbox"] { + appearance: auto; + } +