Skip to content

Build your personal knowledge base with Trilium Notes

client: fix some broken checkboxes on the legacy theme

Adorian Doran0dcd2718c8c8
diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.ts b/src/public/app/widgets/attribute_widgets/attribute_detail.ts
index c5c56102eb..c972107130 100644
--- a/src/public/app/widgets/attribute_widgets/attribute_detail.ts
+++ b/src/public/app/widgets/attribute_widgets/attribute_detail.ts
@@ -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>