mirror of
https://github.com/zadam/trilium.git
synced 2026-01-05 06:04:25 +01:00
style/note title actions: fix an issue identified by gemini-code-assist
This commit is contained in:
parent
1e3135dea0
commit
3638e6b12c
@ -4,11 +4,14 @@ body.experimental-feature-new-layout {
|
||||
}
|
||||
|
||||
.title-actions {
|
||||
--title-actions-padding-start: 12px;
|
||||
--title-actions-padding-end: 8px;
|
||||
|
||||
display: flex;
|
||||
max-width: var(--max-content-width);
|
||||
flex-direction: column;
|
||||
gap: 0.5em;
|
||||
padding-inline: 12px 8px;
|
||||
padding-inline: var(--title-actions-padding-start) var(--title-actions-padding-end);
|
||||
|
||||
body.prefers-centered-content .note-split:not(.full-content-width) & {
|
||||
margin-inline: auto;
|
||||
@ -49,7 +52,8 @@ body.experimental-feature-new-layout {
|
||||
|
||||
> .collapsible,
|
||||
> .note-type-switcher {
|
||||
margin-inline: 12px;
|
||||
padding-inline-start: calc(24px - var(--title-actions-padding-start));
|
||||
padding-inline-end: calc(24px - var(--title-actions-padding-end));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user