Skip to content

Commit

Permalink
Fix spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Jul 4, 2024
1 parent 96b2140 commit 2912318
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@
position: relative;
width: 100%;
z-index: z-index(".edit-site-layout__canvas-container");

/*
* The SiteHubMobile component is displayed
* for pages that do not have a sidebar,
* yet it needs the Sidebar component for the React context.
*
* This removes the padding in this scenario.
* See https://github.com/WordPress/gutenberg/pull/63118
*/
.edit-site-sidebar__screen-wrapper {
padding: 0;
}
}

.edit-site-layout__canvas-container {
Expand Down

0 comments on commit 2912318

Please sign in to comment.