Skip to content

Commit

Permalink
Remove max-width limit on aligned blocks (#142)
Browse files Browse the repository at this point in the history
Remove max-width rule on aligned blocks
  • Loading branch information
adamwoodnz authored Jun 11, 2024
1 parent 510f60c commit 57027cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
10 changes: 0 additions & 10 deletions source/wp-content/themes/wporg-parent-2021/sass/base/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@
}
}

@include break-mobile {
// limit size of any element that is aligned left/right
.wp-block[data-align="left"], // This is for the editor
.wp-block[data-align="right"], // This is for the editor
.wp-site-blocks .alignleft,
.wp-site-blocks .alignright {
max-width: var(--wp--custom--alignment--aligned-max-width);
}
}

// Configures a 3 column layout where `wporg/sidebar-container` blocks sit either side of the main content.
// Examples: Developer Resources, Documentation.
.has-three-columns {
Expand Down
3 changes: 0 additions & 3 deletions source/wp-content/themes/wporg-parent-2021/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@
]
},
"custom": {
"alignment": {
"alignedMaxWidth": "50%"
},
"button": {
"color": {
"background": "var(--wp--preset--color--blueberry-1)",
Expand Down

0 comments on commit 57027cb

Please sign in to comment.