Skip to content

Commit

Permalink
Fix Heading example resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Nov 5, 2024
1 parent a646582 commit 9af9cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/style-book/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const STYLE_BOOK_IFRAME_STYLES = `
}
.edit-site-style-book__example-preview {
width: 100%;
width: calc(100% - 120px);
}
.edit-site-style-book__example-preview .block-editor-block-list__insertion-point,
Expand Down
5 changes: 1 addition & 4 deletions packages/edit-site/src/components/style-book/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ function getLandingBlockExamples(
title: __( 'Headings' ),
category: 'landing',
blocks: createBlock( 'core/heading', {
content: `AaBbCcDdEeFfGgHhIi
JjKkLlMmNnOoPpQqRrSs
TtUuVvWwXxYyZz
0123456789{(...)},?!*&:;_@#$`,
content: `AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789{(...)},?!*&:;_@#$`,
level: 1,
} ),
};
Expand Down

0 comments on commit 9af9cc9

Please sign in to comment.