Commit d0771cd 1 parent e43a1c5 commit d0771cd Copy full SHA for d0771cd
File tree 1 file changed +10
-12
lines changed
packages/edit-site/src/components/layout
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -170,18 +170,16 @@ export default function Layout( { route } ) {
170
170
</ div >
171
171
) }
172
172
173
- { ! isMobileViewport &&
174
- areas . edit &&
175
- canvasMode !== 'edit' && (
176
- < div
177
- className = "edit-site-layout__area"
178
- style = { {
179
- maxWidth : widths ?. edit ,
180
- } }
181
- >
182
- { areas . edit }
183
- </ div >
184
- ) }
173
+ { ! isMobileViewport && areas . edit && canvas !== 'edit' && (
174
+ < div
175
+ className = "edit-site-layout__area"
176
+ style = { {
177
+ maxWidth : widths ?. edit ,
178
+ } }
179
+ >
180
+ { areas . edit }
181
+ </ div >
182
+ ) }
185
183
186
184
{ ! isMobileViewport && areas . preview && (
187
185
< div className = "edit-site-layout__canvas-container" >
You can’t perform that action at this time.
0 commit comments