From 79d2010bfa035b7b4bc33b544f9aadcb2430aee1 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 28 Dec 2025 10:18:50 +0200 Subject: [PATCH] style/note title actions: properly align when the content is centered --- apps/client/src/widgets/layout/NoteTitleActions.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/layout/NoteTitleActions.css b/apps/client/src/widgets/layout/NoteTitleActions.css index 92af19f35..43904b2d4 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; }