();
@@ -99,9 +99,7 @@ export default function Ribbon() {
/>
))}
-
- { note && }
-
+ {children}
diff --git a/apps/client/src/widgets/ribbon/style.css b/apps/client/src/widgets/ribbon/style.css
index ed51e89f2..49f5e10e1 100644
--- a/apps/client/src/widgets/ribbon/style.css
+++ b/apps/client/src/widgets/ribbon/style.css
@@ -417,14 +417,19 @@ body[dir=rtl] .attribute-list-editor {
/* #endregion */
/* #region Experimental layout */
-body.experimental-feature-new-layout .ribbon-container {
- display: flex;
- flex-direction: column-reverse;
- border-top: 1px solid var(--main-border-color);
+body.experimental-feature-new-layout {
+ .ribbon-container {
+ display: flex;
+ flex-direction: column-reverse;
+ border-top: 1px solid var(--main-border-color);
- .ribbon-tab-spacer,
- .ribbon-button-container,
- .ribbon-body {
+ .ribbon-tab-spacer,
+ .ribbon-body {
+ border-bottom: 0 !important;
+ }
+ }
+
+ .ribbon-button-container {
border-bottom: 0 !important;
}
}