From 7957c6d34e92bd796a3391488b8ab057d9973180 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 19 Oct 2024 22:40:27 +0300 Subject: [PATCH] client: Fix promoted attribute style regressions (closes #503) --- .../ribbon_widgets/promoted_attributes.js | 4 +++ src/public/stylesheets/style.css | 26 +++---------------- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js index 119797c35..5c91b4223 100644 --- a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js +++ b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js @@ -42,6 +42,10 @@ const TPL = ` word-break:keep-all; white-space: nowrap; } + .promoted-attribute-cell input[type="checkbox"] { + height: 1.5em; + } + diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index ac1b90de8..c468f710b 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -70,30 +70,10 @@ textarea, background: var(--input-background-color) url("data:image/svg+xml,") right .75rem center/15px 20px no-repeat; } -/* Hide number input arrows */ -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -/* Firefox browser */ -input[type="number"] { - -moz-appearance: textfield; -} - -/* Show number input arrows when focus or hover */ -input[type="number"]:focus::-webkit-inner-spin-button, -input[type="number"]:focus::-webkit-outer-spin-button, -input[type="number"]:hover::-webkit-inner-spin-button, -input[type="number"]:hover::-webkit-outer-spin-button { - -webkit-appearance: inner-spin-button; -} - /* Restore default apperance */ -input[type="number"]:focus, -input[type="number"]:hover { - appearance: auto; +input[type="number"], +input[type="checkbox"] { + appearance: auto !important; } #left-pane input,