Skip to content

Build your personal knowledge base with Trilium Notes

style(book_properties): align label properly

Elian Doranb5a57b3c6650
diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties.ts b/apps/client/src/widgets/ribbon_widgets/book_properties.ts
index a81153a489..83989a57a7 100644
--- a/apps/client/src/widgets/ribbon_widgets/book_properties.ts
+++ b/apps/client/src/widgets/ribbon_widgets/book_properties.ts
@@ -45,6 +45,14 @@ const TPL = /*html*/`
.book-properties-container input[type="checkbox"] {
margin-right: 5px;
}
+
+ .book-properties-container label {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ text-overflow: clip;
+ white-space: nowrap;
+ }
</style>
<div style="display: flex; align-items: baseline">