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"),
|
||||
icon: "bx bx-bar-chart",
|
||||
show: ({ note }) => note?.type !== "search" && !note?.isLabelTruthy("similarNotesWidgetDisabled"),
|
||||
show: ({ note }) => !isNewLayout && note?.type !== "search" && !note?.isLabelTruthy("similarNotesWidgetDisabled"),
|
||||
content: SimilarNotesTab,
|
||||
toggleCommand: "toggleRibbonTabSimilarNotes"
|
||||
},
|
||||
|
||||
@@ -422,6 +422,10 @@ body[dir=rtl] .attribute-list-editor {
|
||||
|
||||
/* #region Experimental layout */
|
||||
body.experimental-feature-new-layout {
|
||||
.ribbon-top-row {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.ribbon-container {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
|
||||
Reference in New Issue
Block a user