Skip to content

Build your personal knowledge base with Trilium Notes

style/note title actions: properly align when the content is centered

Adorian Doran79d2010bfa03
diff --git a/apps/client/src/widgets/layout/NoteTitleActions.css b/apps/client/src/widgets/layout/NoteTitleActions.css
index 92af19f356..43904b2d45 100644
--- a/apps/client/src/widgets/layout/NoteTitleActions.css
+++ b/apps/client/src/widgets/layout/NoteTitleActions.css
@@ -6,10 +6,13 @@ body.experimental-feature-new-layout {
.title-actions {
display: flex;
max-width: var(--max-content-width);
- margin-inline: auto;
flex-direction: column;
gap: 0.5em;
+ body.prefers-centered-content & {
+ margin-inline: auto;
+ }
+
&:not(:empty) {
padding: 0.75em 15px;
}