From 67509db0056167adec0b711c7f01a4d4f3216f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Wed, 24 Jun 2026 14:36:02 +0200 Subject: [PATCH] Halve CTA card width --- semantic-tokens-components.html | 2 +- styles/44-components-public-page-components.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic-tokens-components.html b/semantic-tokens-components.html index 4e184e5..0392b38 100644 --- a/semantic-tokens-components.html +++ b/semantic-tokens-components.html @@ -113,7 +113,7 @@ surface-call-to-action-cardsurface-card-groupFläche der Call-to-action-Card als dunkle Content-Card-Variante. text-call-to-action-cardcolor-font-lightTextfarbe in der Call-to-action-Card. - layout-call-to-action-card-widthdimension-public-content-widthBreite der Card im Page-Layout. + layout-call-to-action-card-widthcalc(var(--dimension-public-content-width) * 0.5)Breite der Card im Page-Layout. layout-call-to-action-card-content-columnsminmax(0, 1fr) max-contentZweispaltiges Layout mit flexibler Textspalte und Buttonspalte in Buttonbreite. layout-call-to-action-card-content-gapspacing-largeAbstand zwischen Text und Button. diff --git a/styles/44-components-public-page-components.css b/styles/44-components-public-page-components.css index ddd7ec4..4a608a5 100644 --- a/styles/44-components-public-page-components.css +++ b/styles/44-components-public-page-components.css @@ -41,7 +41,7 @@ .sg-card--call-to-action-card { --surface-call-to-action-card: var(--surface-card-group); --text-call-to-action-card: var(--color-font-light); - --layout-call-to-action-card-width: var(--dimension-public-content-width); + --layout-call-to-action-card-width: calc(var(--dimension-public-content-width) * 0.5); --layout-call-to-action-card-content-columns: minmax(0, 1fr) max-content; --layout-call-to-action-card-content-gap: var(--spacing-large); width: var(--layout-call-to-action-card-width);