Skip to content

Commit

Permalink
Update style book headings to new design
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Dec 3, 2024
1 parent f32a49e commit 0a58980
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions packages/edit-site/src/components/style-book/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,19 +224,16 @@ export const STYLE_BOOK_IFRAME_STYLES = `
border: 1px solid #ddd;
}
.edit-site-style-book__examples.is-wide .edit-site-style-book__example {
flex-direction: row;
}
.edit-site-style-book__subcategory-title,
.edit-site-style-book__example-title {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 11px;
font-weight: 500;
font-size: 13px;
font-weight: normal;
line-height: normal;
margin: 0;
text-align: left;
text-transform: uppercase;
padding-top: 4px;
border-top: 1px solid currentColor;
}
.edit-site-style-book__subcategory-title {
Expand All @@ -246,18 +243,9 @@ export const STYLE_BOOK_IFRAME_STYLES = `
padding-bottom: 8px;
}
.edit-site-style-book__examples.is-wide .edit-site-style-book__example-title {
text-align: right;
width: 120px;
}
.edit-site-style-book__example-preview {
width: 100%;
}
.is-wide .edit-site-style-book__example-preview {
width: calc(100% - 120px);
}
.edit-site-style-book__example-preview .block-editor-block-list__insertion-point,
.edit-site-style-book__example-preview .block-list-appender {
Expand Down

0 comments on commit 0a58980

Please sign in to comment.