mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 12:54:24 +01:00
fix(layout): extra spacing between badges when no custom actions are available
This commit is contained in:
parent
4877238015
commit
42bde3873b
@ -32,7 +32,7 @@ export default function NoteActions() {
|
|||||||
const { note, ntxId, noteContext } = useNoteContext();
|
const { note, ntxId, noteContext } = useNoteContext();
|
||||||
return (
|
return (
|
||||||
<div className="ribbon-button-container" style={{ contain: "none" }}>
|
<div className="ribbon-button-container" style={{ contain: "none" }}>
|
||||||
{note && <NoteActionsCustom note={note} ntxId={ntxId} />}
|
{note && ntxId && <NoteActionsCustom note={note} ntxId={ntxId} />}
|
||||||
<MovePaneButton direction="left" />
|
<MovePaneButton direction="left" />
|
||||||
<MovePaneButton direction="right" />
|
<MovePaneButton direction="right" />
|
||||||
<ClosePaneButton />
|
<ClosePaneButton />
|
||||||
|
|||||||
@ -459,7 +459,10 @@ body.experimental-feature-new-layout {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
gap: var(--button-gap);
|
gap: var(--button-gap);
|
||||||
margin-right: 1em;
|
|
||||||
|
&> button:last-of-type {
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user