diff --git a/lib/bundle.css b/lib/bundle.css index 12205950..3280bfde 100644 --- a/lib/bundle.css +++ b/lib/bundle.css @@ -561,10 +561,10 @@ a { margin-top: 12px; padding: 4px; } -.ssb-card .card-content .card-action:focus, .ssb-card .card-content .card-title:focus { +.ssb-card .card-content a.card-action:focus, .ssb-card .card-content a.card-title:focus { outline: none; } -.ssb-card .card-content .card-action::after, .ssb-card .card-content .card-title::after { +.ssb-card .card-content a.card-action::after, .ssb-card .card-content a.card-title::after { content: ""; position: absolute; inset: 0; diff --git a/package.json b/package.json index b0520481..05b026df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.0.94", + "version": "2.0.95", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": { diff --git a/src/components/Card/_card.scss b/src/components/Card/_card.scss index caa0aecd..95123731 100644 --- a/src/components/Card/_card.scss +++ b/src/components/Card/_card.scss @@ -180,8 +180,8 @@ padding: 4px; } - .card-action, .card-title { - + a.card-action, a.card-title { + &:focus { outline: none; }