From 9b4f186e58c4ed203130565a588dd5c2c397ba7a Mon Sep 17 00:00:00 2001 From: Adam Antal Date: Thu, 7 Dec 2023 09:20:31 +0100 Subject: [PATCH] Make sure that any text inside a button is never with text decorations Even is there is an tag inside. --- src/stories/Library/Buttons/button/LinkButton.tsx | 1 - src/stories/Library/Buttons/button/buttons.scss | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/Library/Buttons/button/LinkButton.tsx b/src/stories/Library/Buttons/button/LinkButton.tsx index 8cf02b2f5..e6d8a70b0 100644 --- a/src/stories/Library/Buttons/button/LinkButton.tsx +++ b/src/stories/Library/Buttons/button/LinkButton.tsx @@ -31,7 +31,6 @@ export const LinkButton = ({ getVariant(variant), getSize(size), "arrow__hover--right-small", - "hide-linkstyle", classNames )} > diff --git a/src/stories/Library/Buttons/button/buttons.scss b/src/stories/Library/Buttons/button/buttons.scss index 7a697f392..b8ebe29eb 100644 --- a/src/stories/Library/Buttons/button/buttons.scss +++ b/src/stories/Library/Buttons/button/buttons.scss @@ -21,6 +21,7 @@ $c-btn-border-disabled: $c-global-tertiary-2; white-space: nowrap; transition: background-color 0.4s ease-in-out, color 0.2s ease-in-out, opacity 0.4s ease-in-out; + text-decoration: none; @extend %text-button-placeholder;