Skip to content

Commit

Permalink
remove bleed
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Mar 16, 2022
1 parent 7e10056 commit b563498
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -2,7 +2,7 @@

{% if (needBlockWrapper(block) or (block.data.stretched is defined and block.data.stretched)) %}<div{{ blockWrapperAttr(block.data,
block.data.stretched is defined and block.data.stretched
? {'class':'bleed'} : {}) }}>{% endif %}
? {'class':'lg:-mx-32'} : {}) }}>{% endif %}

{{ video(block.data.serviceUrl, block.data.image.url, block.data.alternativeText) }}

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Twig/UnproseTwigTrait.php
Expand Up @@ -9,7 +9,7 @@ trait UnproseTwigTrait
*/
public function unprose(string $html): string
{
$unproseClass = 'not-prose bleed my-6';
$unproseClass = 'not-prose lg:-mx-32 my-6';

return '<div class="'.$unproseClass.'">'.$html.'</div>';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/templates/page/_content.html.twig
Expand Up @@ -54,5 +54,5 @@
{% endif %}
{% endblock %}

{# not-prose bleed my-6 #}
{# not-prose lg:-mx-32 my-6 #}
{% endblock %}

0 comments on commit b563498

Please sign in to comment.