@@ -13,9 +16,14 @@ import StylesPackageImport from '../../../shared/styles-package-import.mdx';
If you use multiple topic teasers on one page, each topic teaser must have a different background.
-
-
+
+
+
+
+
-
+
+
+
diff --git a/packages/documentation/src/stories/components/topic-teaser/topic-teaser.stories.ts b/packages/documentation/src/stories/components/topic-teaser/topic-teaser.stories.ts
index 127280968d..8b69ba1dc0 100644
--- a/packages/documentation/src/stories/components/topic-teaser/topic-teaser.stories.ts
+++ b/packages/documentation/src/stories/components/topic-teaser/topic-teaser.stories.ts
@@ -7,6 +7,7 @@ const meta: Meta = {
title: 'Components/Topic Teaser',
parameters: {
badges: [BADGE.NEEDS_REVISION],
+ layout: 'fullscreen',
},
args: {
title: 'Loremipsum',
diff --git a/packages/documentation/src/stories/components/topic-teaser/topic-teaser.styles.scss b/packages/documentation/src/stories/components/topic-teaser/topic-teaser.styles.scss
new file mode 100644
index 0000000000..aeeee57ac2
--- /dev/null
+++ b/packages/documentation/src/stories/components/topic-teaser/topic-teaser.styles.scss
@@ -0,0 +1,6 @@
+@use '@swisspost/design-system-styles/core' as post;
+
+.topic-teaser-full-width-storybook > div > div:first-child {
+ overflow: hidden;
+ @include post.responsive-size('huge', 'padding-bottom', 'calc($value + 2rem)');
+}