Skip to content

Commit

Permalink
fix: css link icon right (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv authored Jun 10, 2024
1 parent 1e6d446 commit d11cb5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha279",
"version": "1.0.0-alpha280",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/core/link/LinkBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@
}

.hds-link--medium .hds-icon-right {
margin-left: 4px;
vertical-align: middle;
}

.hds-link--large .hds-icon-right {
margin-left: 0; /* 16px i.e. .hds-icon-left's margin-right value would be too much */
margin-left: 4px;
vertical-align: middle;
}

0 comments on commit d11cb5d

Please sign in to comment.