chore(layout): hide ribbon in new layout

This commit is contained in:
Elian Doran
2025-12-13 00:22:34 +02:00
parent 81dd50e752
commit d7887fe25f
2 changed files with 5 additions and 1 deletions

View File

@@ -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"
}, },

View File

@@ -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;