Skip to content

Commit

Permalink
fix: remove text-decoration for db-button to use <a> tag (#2205)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Feb 12, 2024
1 parent cf043f5 commit ac613a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
inline-size: fit-content;
padding: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-md;

// disable text-decoration if someone wants to use the button for an <a> tag
text-decoration: none;

// Square icon only buttons
&.is-icon-text-replace {
font-size: 0;
Expand Down

0 comments on commit ac613a4

Please sign in to comment.