From 7db674b65d07648d560e18f144eeecbd13739a95 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Sun, 27 Feb 2022 16:58:15 +0530 Subject: [PATCH] Fix button styles Signed-off-by: Ajay Bura --- src/app/atoms/button/Button.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/atoms/button/Button.scss b/src/app/atoms/button/Button.scss index 98bd58aa..7b12195c 100644 --- a/src/app/atoms/button/Button.scss +++ b/src/app/atoms/button/Button.scss @@ -1,5 +1,6 @@ @use 'state'; @use '../../partials/dir'; +@use '../../partials/text'; .btn-surface, .btn-primary, @@ -18,11 +19,16 @@ cursor: pointer; @include state.disabled; + & .text { + @extend .cp-txt__ellipsis; + } + &--icon { @include dir.side(padding, var(--sp-tight), var(--sp-loose)); .ic-raw { @include dir.side(margin, 0, var(--sp-extra-tight)); + flex-shrink: 0; } } }