Skip to content

Commit

Permalink
fix(sbb-teaser-hero): fix regression pt.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Dec 16, 2024
1 parent 4c30f6a commit 539058b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/elements/core/styles/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ sbb-teaser :is(sbb-image, img) {
}

img {
width: 100%;
display: block;
align-self: stretch;
width: 100%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/elements/core/styles/mixins/image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@mixin figure-image {
grid-row: 1;
grid-column: 1;
place-self: stretch stretch;
width: 100%;
}

@mixin figure-caption {
Expand Down

0 comments on commit 539058b

Please sign in to comment.