Skip to content

Commit

Permalink
refactor: CSS code for sidebar in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Dec 7, 2024
1 parent 6b9684e commit 0dcd8f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.edit-site-sidebar-navigation-screen-templates-browse {
margin-left: -$grid-unit-20;
margin-right: -$grid-unit-20;
}

.edit-site-sidebar-navigation-item.components-item {
color: $gray-600;
// 6px right padding to align with + button
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.edit-site-sidebar-navigation-screen-templates-browse {
margin-left: -$grid-unit-20;
margin-right: -$grid-unit-20;
}
5 changes: 3 additions & 2 deletions packages/edit-site/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
@import "./components/sidebar-navigation-screen-details-footer/style.scss";
@import "./components/sidebar-navigation-screen-navigation-menu/style.scss";
@import "./components/sidebar-navigation-screen-patterns/style.scss";
@import "./components/sidebar-navigation-screen-navigation-menus/style.scss";
@import "./components/sidebar-navigation-screen-main/style.scss";
@import "./components/sidebar-navigation-screen-templates-browse/style.scss";
@import "./components/sidebar-dataviews/style.scss";
@import "./components/site-hub/style.scss";
@import "./components/sidebar-navigation-screen-navigation-menus/style.scss";
@import "./components/site-icon/style.scss";
@import "./components/style-book/style.scss";
@import "./components/editor-canvas-container/style.scss";
Expand All @@ -35,7 +37,6 @@
@import "./components/pagination/style.scss";
@import "./components/global-styles/variations/style.scss";
@import "./components/sidebar-global-styles-wrapper/style.scss";
@import "./components/sidebar-navigation-screen-main/style.scss";

/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
::view-transition-image-pair(root) {
Expand Down

0 comments on commit 0dcd8f8

Please sign in to comment.