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