mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 12:54:24 +01:00
chore(layout): revert breadcrumb row
This commit is contained in:
parent
15b5885982
commit
c97038fffd
@ -82,8 +82,16 @@ export default class DesktopLayout {
|
|||||||
|
|
||||||
const titleRow = new FlexContainer("row")
|
const titleRow = new FlexContainer("row")
|
||||||
.class("title-row")
|
.class("title-row")
|
||||||
|
.cssBlock(".title-row > * { margin: 5px; }")
|
||||||
.child(<NoteIconWidget />)
|
.child(<NoteIconWidget />)
|
||||||
.child(<NoteTitleWidget />);
|
.child(<NoteTitleWidget />)
|
||||||
|
.optChild(isNewLayout, <BreadcrumbBadges />)
|
||||||
|
.child(<SpacerWidget baseSize={0} growthFactor={1} />)
|
||||||
|
.child(<MovePaneButton direction="left" />)
|
||||||
|
.child(<MovePaneButton direction="right" />)
|
||||||
|
.child(<ClosePaneButton />)
|
||||||
|
.child(<CreatePaneButton />)
|
||||||
|
.optChild(isNewLayout, <NoteActions />);
|
||||||
|
|
||||||
const rootContainer = new RootContainer(true)
|
const rootContainer = new RootContainer(true)
|
||||||
.setParent(appContext)
|
.setParent(appContext)
|
||||||
@ -137,18 +145,6 @@ export default class DesktopLayout {
|
|||||||
.child(
|
.child(
|
||||||
new SplitNoteContainer(() =>
|
new SplitNoteContainer(() =>
|
||||||
new NoteWrapperWidget()
|
new NoteWrapperWidget()
|
||||||
.child(
|
|
||||||
new FlexContainer("row")
|
|
||||||
.class("breadcrumb-row")
|
|
||||||
.cssBlock(".breadcrumb-row > * { margin: 5px; }")
|
|
||||||
.optChild(isNewLayout, <BreadcrumbBadges />)
|
|
||||||
.child(<SpacerWidget baseSize={0} growthFactor={1} />)
|
|
||||||
.child(<MovePaneButton direction="left" />)
|
|
||||||
.child(<MovePaneButton direction="right" />)
|
|
||||||
.child(<ClosePaneButton />)
|
|
||||||
.child(<CreatePaneButton />)
|
|
||||||
.optChild(isNewLayout, <NoteActions />)
|
|
||||||
)
|
|
||||||
.optChild(!isFloatingTitlebar, titleRow)
|
.optChild(!isFloatingTitlebar, titleRow)
|
||||||
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
|
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
|
||||||
.optChild(isNewLayout, <Ribbon />)
|
.optChild(isNewLayout, <Ribbon />)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user