feat(book_properties): improve layout & accessibility

This commit is contained in:
Elian Doran
2025-07-09 20:14:42 +03:00
parent 2d11ed805d
commit 430ed78d85
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ const TPL = /*html*/`
.book-properties-container {
display: flex;
align-items: center;
}
.book-properties-container > * {

View File

@@ -48,7 +48,7 @@ export function renderBookProperty(property: BookProperty, note: FNote) {
}
});
$checkbox.prop("checked", note.hasOwnedLabel(property.bindToLabel));
$container.prepend($checkbox);
$label.prepend($checkbox);
break;
default:
throw new Error(`Unknown property type: ${property.type}`);