From 31daca2b7218868311137b7f841fd55a36701a87 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Mon, 21 Oct 2024 12:42:00 +0200 Subject: [PATCH] Style Book: clean up layout (#66255) Co-authored-by: ciampo Co-authored-by: DaniGuardiola Co-authored-by: ramonjd --- .../src/components/style-book/index.js | 65 +++++++++---------- .../src/components/style-book/style.scss | 26 ++++---- 2 files changed, 44 insertions(+), 47 deletions(-) diff --git a/packages/edit-site/src/components/style-book/index.js b/packages/edit-site/src/components/style-book/index.js index 7b85c320e20c99..42b6e3f4fc99b6 100644 --- a/packages/edit-site/src/components/style-book/index.js +++ b/packages/edit-site/src/components/style-book/index.js @@ -120,39 +120,38 @@ function StyleBook( { > { resizeObserver } { showTabs ? ( -
- -
- - { tabs.map( ( tab ) => ( - - { tab.title } - - ) ) } - -
- { tabs.map( ( tab ) => ( - - - - ) ) } -
-
+ +
+ + { tabs.map( ( tab ) => ( + + { tab.title } + + ) ) } + +
+ { tabs.map( ( tab ) => ( + + + + ) ) } +
) : (