Skip to content

Commit

Permalink
Header link font weight (#1361)
Browse files Browse the repository at this point in the history
* Inherit font-weight for header link

* Bump @statisticsnorway/ssb-component-library from 2.3.1 to 2.3.2

* Bump @statisticsnorway/ssb-component-library from 2.3.2 to 2.3.3
  • Loading branch information
johnnadeluy authored Nov 4, 2024
1 parent aa644fc commit db6d596
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -1769,6 +1769,7 @@ a {
.ssb-link.header h1, .ssb-link.header h2, .ssb-link.header h3, .ssb-link.header h4, .ssb-link.header h5, .ssb-link.header h6 {
display: inherit;
font-size: inherit;
font-weight: inherit;
font-family: inherit !important;
}
.ssb-link.header .link-text {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.3.2",
"version": "2.3.3",
"description": "Component library for SSB (Statistics Norway)",
"main": "lib/bundle.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/components/Link/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ $icon-padding: 8px;
h1, h2, h3, h4, h5, h6 {
display: inherit;
font-size: inherit;
font-weight: inherit;
font-family: inherit !important;
}

Expand Down

0 comments on commit db6d596

Please sign in to comment.