From 9e62f784462f3533f4e6ba4d6c2b72bfeaf816cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Wed, 24 Jun 2026 09:21:39 +0200 Subject: [PATCH] Revert "Remove preview area from public cards page" This reverts commit 6de7cb5807212e342cfaa6fd6c0b497d6eb13fd5. --- components/cards-public-page.html | 46 ++++++++++++++++--------------- styles/40-components-cards.css | 7 +++-- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/components/cards-public-page.html b/components/cards-public-page.html index d65fb78..57e467c 100644 --- a/components/cards-public-page.html +++ b/components/cards-public-page.html @@ -15,34 +15,36 @@

Component: Content Wrapper Card

-
-

- Content Wrapper Card als Transparent Card ohne horizontale Außenabstände und mit vertikalem Abstand gemäss spacing-large. -

+
+
+

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

-
-

Component: CTA Right

+
+

Component: CTA Right

-
-
-
-
-

- Ein Satz Text als CTA-Hinweis. -

-
+
+
+
+
+

+ Ein Satz Text als CTA-Hinweis. +

+
-
-
- +
+
+ +
-
-
-
+ +
+
diff --git a/styles/40-components-cards.css b/styles/40-components-cards.css index f60fa6c..b8ad233 100644 --- a/styles/40-components-cards.css +++ b/styles/40-components-cards.css @@ -232,11 +232,14 @@ max-width: none; } -.sg-page-cards-public-page #component-content-wrapper-card { +.sg-page-cards-public-page .sg-preview-area { + display: block; + width: calc(100% + (2 * var(--spacing-small))); + box-sizing: border-box; margin-inline: calc(-1 * var(--spacing-small)); } -.sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card { +.sg-page-cards-public-page .sg-preview-area > .sg-transparent-card { width: 100%; max-width: none; margin: var(--spacing-large) 0;