Skip to content

Commit

Permalink
Merge pull request #441 from BeAPI/fix/cpb
Browse files Browse the repository at this point in the history
Fix content picking alignment
  • Loading branch information
cedric07 authored Feb 10, 2025
2 parents d3d546f + a41d0d4 commit 41166b8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/scss/06-blocks/_gutenberg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,6 @@
margin-left: auto;
}

@include editor-only {
> .wp-block[class*="wp-block-beapi-manual-block"],
> .wp-block[class*="wp-block-beapi-dynamic-block"] {
width: 100%;
max-width: none;
}

// The template block must have a ".block" class. Example : <div class="block block--my-custom-block">
> :where(.wp-block[class*="wp-block-beapi-manual-block"]) :where(.block),
> :where(.wp-block[class*="wp-block-beapi-dynamic-block"]) :where(.block) {
width: $container-default;
max-width: var(--responsive--aligndefault-width);
margin-right: auto;
margin-left: auto;
}
}

#{context-selector(".alignwide", "[data-align='wide']")} {
width: #{$container-wide};
max-width: var(--responsive--alignwide-width);
Expand Down

0 comments on commit 41166b8

Please # to comment.