From 6794dca72851c0fa09827fd009f995aa46af39e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Wed, 24 Jun 2026 14:36:49 +0200 Subject: [PATCH] Adjust CTA card width ratio --- 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 0392b38..6ded954 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-widthcalc(var(--dimension-public-content-width) * 0.5)Breite der Card im Page-Layout. + layout-call-to-action-card-widthcalc(var(--dimension-public-content-width) * 0.7)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 4a608a5..6fc97d5 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: calc(var(--dimension-public-content-width) * 0.5); + --layout-call-to-action-card-width: calc(var(--dimension-public-content-width) * 0.7); --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);