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

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