Skip to content

Commit

Permalink
block/text-with-image: replace h1 with h2 and fixing columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored and philli-m committed Oct 20, 2021
1 parent f814a24 commit ca40d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<div class="{% if self.background_color %}ds-block__{{ self.background_color }}{% else %}block__body-bg{% endif %}">
<div class="container-fluid gx-0">
<div class="row align-items-center">
<div class="col-12 col-sm-4">
<div class="col-12 col-sm-5">
<img src="{{ image.url }}" alt="{{ image.alt }}" class="textimg-block-image__img" />
</div>
<div class="offset-md-1 col d-flex align-items-center">
<div class="textimg-block-text__wrapper">
<h1>
<h2>
{{ value.title }}
</h1>
</h2>
{{ value.body|richtext }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion digitalstrategie/assets/scss/components/_block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ img.textimg-block-image__img {
width: 100%;
padding: 0 1 * $spacer;

& h1 {
& h2 {
margin: 1 * $spacer 0;
}

Expand Down

0 comments on commit ca40d09

Please sign in to comment.