From 0b20e8a37d488ef0adf1dd27816d3b4463e326b9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 27 Nov 2024 21:26:07 +0200 Subject: [PATCH] style(promoted): improve checkbox style --- src/public/app/widgets/ribbon_widgets/promoted_attributes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js index 4cbdfe2a1..3be5b2ca3 100644 --- a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js +++ b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js @@ -33,6 +33,7 @@ const TPL = ` .promoted-attribute-cell > label { user-select: none; font-weight: bold; + vertical-align: middle; } .promoted-attribute-cell > * { display: table-cell; @@ -49,7 +50,7 @@ const TPL = ` white-space: nowrap; } .promoted-attribute-cell input[type="checkbox"] { - height: 1.5em; + width: 22px !important; flex-grow: 0; width: unset; }