mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
chore(layout): relocate ribbon on the top temporarily
This commit is contained in:
parent
78b9c94829
commit
9ee3c48485
@ -154,6 +154,11 @@ export default class DesktopLayout {
|
|||||||
)
|
)
|
||||||
.optChild(!isFloatingTitlebar, titleRow)
|
.optChild(!isFloatingTitlebar, titleRow)
|
||||||
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
|
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
|
||||||
|
.optChild(isNewLayout, (
|
||||||
|
<Ribbon>
|
||||||
|
<NoteStatusBar />
|
||||||
|
</Ribbon>
|
||||||
|
))
|
||||||
.child(new WatchedFileUpdateStatusWidget())
|
.child(new WatchedFileUpdateStatusWidget())
|
||||||
.child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />)
|
.child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />)
|
||||||
.child(
|
.child(
|
||||||
@ -179,11 +184,6 @@ export default class DesktopLayout {
|
|||||||
...this.customWidgets.get("node-detail-pane"), // typo, let's keep it for a while as BC
|
...this.customWidgets.get("node-detail-pane"), // typo, let's keep it for a while as BC
|
||||||
...this.customWidgets.get("note-detail-pane")
|
...this.customWidgets.get("note-detail-pane")
|
||||||
)
|
)
|
||||||
.optChild(isNewLayout, (
|
|
||||||
<Ribbon>
|
|
||||||
<NoteStatusBar />
|
|
||||||
</Ribbon>
|
|
||||||
))
|
|
||||||
.optChild(isNewLayout, <StatusBar />)
|
.optChild(isNewLayout, <StatusBar />)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user