Skip to content

Build your personal knowledge base with Trilium Notes

style(promoted): improve checkbox style

Elian Doran0b20e8a37d48
diff --git a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js
index 4cbdfe2a19..3be5b2ca39 100644
--- a/src/public/app/widgets/ribbon_widgets/promoted_attributes.js
+++ b/src/public/app/widgets/ribbon_widgets/promoted_attributes.js
@@ -33,6 +33,7 @@ const TPL = `
.promoted-attribute-cell > label {
user-select: none;
font-weight: bold;
+ vertical-align: middle;
}
.promoted-attribute-cell > * {
display: table-cell;
@@ -49,7 +50,7 @@ const TPL = `
white-space: nowrap;
}
.promoted-attribute-cell input[type="checkbox"] {
- height: 1.5em;
+ width: 22px !important;
flex-grow: 0;
width: unset;
}