Skip to content

Commit

Permalink
Align newsletter subscription to top of the block
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Jul 18, 2024
1 parent f8ce63f commit dc349cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions scss/modules/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@
}

.newsletter-block-image {
margin-bottom: -5.5rem;

.overlay-text {
font-size: 1.75rem;
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion templates/paragraph/paragraph--block.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

{% if '1' in paragraph.field_show_newsletter.value %}
</div>
<div class="col-lg-4 mt-lg-auto newsletter-block-image text-center">
<div class="col-lg-4 mt-3 newsletter-block-image text-center">
<picture>
<source srcset="/sites/default/files/styles/max_650x650/public/Newsflash-2023.png?itok=i3k7hPIg 650w, /sites/default/files/styles/max_1300x1300/public/Newsflash-2023.png?itok=dVC8B_8- 1300w" media="all and (min-width: 1200px)" type="image/png" sizes="637px" width="650" height="650">
<img src="/sites/default/files/styles/max_1300x1300/public/Newsflash-2023.png?itok=dVC8B_8-" width="1300" height="1300" alt="" loading="eager">
Expand Down

0 comments on commit dc349cf

Please sign in to comment.