Skip to content

Commit

Permalink
Mobile layout: do not use widths from content in full layout
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 5, 2024
1 parent 32ee6a3 commit 575dee9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,7 @@ export default function Layout() {
<SavePanel />

{ isMobileViewport && areas.mobile && (
<div
className="edit-site-layout__mobile"
style={ {
maxWidth: widths?.content,
} }
>
<div className="edit-site-layout__mobile">
{ areas.mobile }
</div>
) }
Expand Down

0 comments on commit 575dee9

Please sign in to comment.