From fd93ce2a15e3901715ae03a04267b2c5bc90a010 Mon Sep 17 00:00:00 2001 From: Fynn Feldpausch Date: Wed, 24 Jul 2024 07:35:34 +0200 Subject: [PATCH] fix(core): correct text alignment in multipline buttons (fixes #534) --- core/src/components/cat-button/cat-button.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/components/cat-button/cat-button.scss b/core/src/components/cat-button/cat-button.scss index 6c66499b..298106ff 100644 --- a/core/src/components/cat-button/cat-button.scss +++ b/core/src/components/cat-button/cat-button.scss @@ -343,10 +343,12 @@ $button-sizes: ( :host(.cat-text-left) .cat-button { justify-content: left; + text-align: left; } :host(.cat-text-right) .cat-button { justify-content: right; + text-align: right; } // ----- navigation