Skip to content

Commit

Permalink
Add spacing around the notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Feb 14, 2025
1 parent c8b47f3 commit 9491499
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
}
}

.edit-site-layout__area__404 {
.edit-site-layout__area__404,
.edit-site-layout__area__unsupported {
margin: $canvas-padding;
}

Expand Down
8 changes: 6 additions & 2 deletions packages/edit-site/src/components/page-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,12 @@ export default function PageTemplates() {
);

if ( ! isBlockBasedTheme ) {
return __(
'The theme you are currently using is not compatible with the Site Editor.'
return (
<p className="edit-site-layout__area__unsupported">
{ __(
'The theme you are currently using is not compatible with the Site Editor.'
) }
</p>
);
}

Expand Down

0 comments on commit 9491499

Please sign in to comment.