Skip to content

Commit

Permalink
style: enable default text-decoration for .db-link (#3475)
Browse files Browse the repository at this point in the history
* style: enable default text-decoration for .db-link

Default .db-link has no text-decoration: underline.

* fix: linting issue

---------

Co-authored-by: Maximilian Franzke <[email protected]>
Co-authored-by: Nicolas Merget <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2024
1 parent e643dc1 commit 7e03db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/styles/_link-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
// TODO: We should evaluate whether we could move this declaration to the @font-face declarations even already
text-underline-position: from-font;
text-decoration-thickness: helpers.px-to-rem($pxValue: 1);
text-decoration-line: underline;

&:not([data-variant="inline"]) {
white-space: nowrap;
Expand Down

0 comments on commit 7e03db3

Please sign in to comment.