mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 05:09:54 +01:00
fix(layout): extra spacing between badges when no custom actions are available
This commit is contained in:
@@ -32,7 +32,7 @@ export default function NoteActions() {
|
||||
const { note, ntxId, noteContext } = useNoteContext();
|
||||
return (
|
||||
<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="right" />
|
||||
<ClosePaneButton />
|
||||
|
||||
@@ -459,7 +459,10 @@ body.experimental-feature-new-layout {
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
gap: var(--button-gap);
|
||||
margin-right: 1em;
|
||||
|
||||
&> button:last-of-type {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user