diff --git a/components/cards-public-page.html b/components/cards-public-page.html index 9e8410c..40c4c99 100644 --- a/components/cards-public-page.html +++ b/components/cards-public-page.html @@ -8,7 +8,7 @@ -

Component: CTA Right

+

Components – Cards Public Page

@@ -20,23 +20,27 @@ Content Wrapper Card als Transparent Card ohne horizontale Außenabstände und mit vertikalem Abstand gemäss spacing-large.

-
-
-
-
-

- Ein Satz Text als CTA-Hinweis. -

-
+
+

Component: CTA Right

-
- +
+
+
+
+

+ Ein Satz Text als CTA-Hinweis. +

+
+ +
+ +
-
-
+ + diff --git a/styles/40-components-cards.css b/styles/40-components-cards.css index 8ecf081..fb2e3c9 100644 --- a/styles/40-components-cards.css +++ b/styles/40-components-cards.css @@ -230,12 +230,23 @@ margin: 0 0 var(--spacing-large) 0; } +.sg-page-cards-public-page { + overflow-x: hidden; +} + .sg-page-cards .sg-preview-area > .sg-card, .sg-page-cards .sg-preview-area > .sg-transparent-card { width: 100%; max-width: none; } +.sg-page-cards-public-page #component-content-wrapper-card { + width: 100%; + max-width: 100%; + box-sizing: border-box; + padding-inline: var(--spacing-small); +} + .sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card { width: 100%; max-width: none; @@ -245,7 +256,6 @@ .sg-page-cards-public-page .sg-cards-public-page__cta-right-card { width: var(--layout-public-content-element-width); max-width: none; - margin-top: var(--spacing-large); margin-inline-start: auto; }