Skip to content

Commit

Permalink
Make sure that any text inside a button is never with text decorations
Browse files Browse the repository at this point in the history
Even is there is an <a> tag inside.
  • Loading branch information
Adamik10 committed Dec 7, 2023
1 parent 001d6fc commit 1aba673
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/stories/Library/Buttons/button/LinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const LinkButton = ({
getVariant(variant),
getSize(size),
"arrow__hover--right-small",
"hide-linkstyle",
classNames
)}
>
Expand Down
1 change: 1 addition & 0 deletions src/stories/Library/Buttons/button/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1aba673

Please sign in to comment.