client: fix some broken checkboxes on the legacy theme

This commit is contained in:
Adorian Doran 2025-02-06 06:22:30 +02:00
parent 09ae998437
commit 0dcd2718c8

View File

@ -48,10 +48,14 @@ const TPL = `
text-align: left;
}
.attr-edit-table td input {
.attr-edit-table td input[not(type="checkbox")] {
width: 100%;
}
.attr-edit-table td input[type="checkbox"] {
display: inline-block;
}
.close-attr-detail-button {
font-size: x-large;
cursor: pointer;
@ -104,7 +108,7 @@ const TPL = `
<th></th>
<td>
<label class="tn-checkbox">
<input type="checkbox" class="attr-input-promoted form-check" />
<input type="checkbox" class="attr-input-promoted" />
${t("attribute_detail.promoted")}
</label>
</td>
@ -161,7 +165,7 @@ const TPL = `
<th></th>
<td>
<label class="tn-checkbox">
<input type="checkbox" class="attr-input-inheritable form-check" />
<input type="checkbox" class="attr-input-inheritable" />
${t("attribute_detail.inheritable")}
</label>
</td>