style(client): fix checkboxes override causing issues for canvas (closes #6463)

This commit is contained in:
Elian Doran 2025-07-25 10:08:14 +03:00
parent 313ba3df80
commit 4d73cdefef
No known key found for this signature in database
2 changed files with 7 additions and 6 deletions

View File

@ -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 {

View File

@ -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;
}
</style>
<div class="promoted-attributes-container"></div>