Skip to content

Build your personal knowledge base with Trilium Notes

style(next): fix alignment of multiplicity in promoted attrs

Elian Doran187585b32f56
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index f09b662b1e..28679abc7f 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1410,6 +1410,13 @@ div.promoted-attribute-cell .multiplicity:has(span) {
margin-left: 8px;
margin-right: calc(var(--pa-card-padding-left) - var(--pa-card-padding-right));
font-size: 0; /* Prevent whitespaces creating a gap between buttons */
+ display: flex;
+}
+
+div.promoted-attribute-cell .multiplicity:has(span) span {
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
/*