mirror of
https://github.com/zadam/trilium.git
synced 2025-12-13 03:39:54 +01:00
chore(layout): hide ribbon in new layout
This commit is contained in:
@@ -125,7 +125,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [
|
|||||||
{
|
{
|
||||||
title: t("similar_notes.title"),
|
title: t("similar_notes.title"),
|
||||||
icon: "bx bx-bar-chart",
|
icon: "bx bx-bar-chart",
|
||||||
show: ({ note }) => note?.type !== "search" && !note?.isLabelTruthy("similarNotesWidgetDisabled"),
|
show: ({ note }) => !isNewLayout && note?.type !== "search" && !note?.isLabelTruthy("similarNotesWidgetDisabled"),
|
||||||
content: SimilarNotesTab,
|
content: SimilarNotesTab,
|
||||||
toggleCommand: "toggleRibbonTabSimilarNotes"
|
toggleCommand: "toggleRibbonTabSimilarNotes"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -422,6 +422,10 @@ body[dir=rtl] .attribute-list-editor {
|
|||||||
|
|
||||||
/* #region Experimental layout */
|
/* #region Experimental layout */
|
||||||
body.experimental-feature-new-layout {
|
body.experimental-feature-new-layout {
|
||||||
|
.ribbon-top-row {
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.ribbon-container {
|
.ribbon-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
|
|||||||
Reference in New Issue
Block a user