diff --git a/src/components/teaser/teaser.scss b/src/components/teaser/teaser.scss index 1832927272..c7717c1bab 100644 --- a/src/components/teaser/teaser.scss +++ b/src/components/teaser/teaser.scss @@ -66,6 +66,7 @@ ::slotted([slot='image']) { will-change: transform; display: block; + object-fit: cover; width: var(--sbb-teaser-image-width, 300px); filter: brightness(var(--sbb-teaser-brightness, 1)); transition: var(--sbb-animation-duration-4x) var(--sbb-animation-easing); @@ -81,7 +82,6 @@ } .sbb-teaser__image-wrapper { - min-width: var(--sbb-teaser-width); overflow: hidden; border-radius: var(--sbb-teaser-border-radius); transition: var(--sbb-animation-duration-4x) var(--sbb-animation-easing); @@ -109,7 +109,6 @@ padding: 0; @include sbb.text-s--regular; - @include sbb.clamp-lines($lines: 2); color: var(--sbb-teaser-description-color); }