client: tweak the label definition / relation definition dialog

This commit is contained in:
Adorian Doran 2025-02-03 20:25:43 +02:00
parent c9bfd07722
commit 631d46028c

View File

@ -67,6 +67,10 @@ const TPL = `
.attr-detail input[readonly] { .attr-detail input[readonly] {
background-color: var(--accented-background-color) !important; background-color: var(--accented-background-color) !important;
} }
.attr-edit-table td {
padding: 4px 0;
}
</style> </style>
<div style="display: flex; justify-content: space-between; margin-bottom: 8px;"> <div style="display: flex; justify-content: space-between; margin-bottom: 8px;">
@ -97,8 +101,13 @@ const TPL = `
</tr> </tr>
<tr class="attr-row-promoted" <tr class="attr-row-promoted"
title="${t("attribute_detail.promoted_title")}"> title="${t("attribute_detail.promoted_title")}">
<th>${t("attribute_detail.promoted")}</th> <th></th>
<td><input type="checkbox" class="attr-input-promoted form-check" /></td> <td>
<label class="tn-checkbox">
<input type="checkbox" class="attr-input-promoted form-check" />
${t("attribute_detail.promoted")}
</label>
</td>
</tr> </tr>
<tr class="attr-row-promoted-alias"> <tr class="attr-row-promoted-alias">
<th title="${t("attribute_detail.promoted_alias_title")}">${t("attribute_detail.promoted_alias")}</th> <th title="${t("attribute_detail.promoted_alias_title")}">${t("attribute_detail.promoted_alias")}</th>