Skip to content

Commit

Permalink
Inherit font-family for header links
Browse files Browse the repository at this point in the history
MIM-2054
  • Loading branch information
johnnadeluy committed Oct 31, 2024
1 parent 7b858ea commit aae91f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,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-family: inherit !important;
}
.ssb-link.header .link-text {
color: #162327;
Expand Down
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.0",
"version": "2.3.1",
"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-family: inherit !important;
}

.link-text {
Expand Down

0 comments on commit aae91f9

Please sign in to comment.