diff --git a/lib/bundle.css b/lib/bundle.css index d9249466..f6ac49b0 100644 --- a/lib/bundle.css +++ b/lib/bundle.css @@ -1080,6 +1080,15 @@ a { outline-offset: 2px; border-radius: 8px; } +.ssb-expansion-box.sneak-peek:not(.ssb-expansion-box.sneak-peek.open) { + position: relative; +} +.ssb-expansion-box.sneak-peek:not(.ssb-expansion-box.sneak-peek.open) .header::before { + content: ""; + position: absolute; + inset: 0; + z-index: 1; +} .ssb-expansion-box.sneak-peek .header { padding-bottom: 0.5rem; transition: padding-bottom 0.5s; diff --git a/package-lock.json b/package-lock.json index debbd70c..515b9c9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.7", + "version": "2.2.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.7", + "version": "2.2.8", "license": "Apache-2.0", "dependencies": { "prismjs": "~1.29.0", diff --git a/package.json b/package.json index 9f5794ab..0307ddbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.7", + "version": "2.2.8", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": { diff --git a/src/components/ExpansionBox/README.md b/src/components/ExpansionBox/README.md index 7f64010c..42548297 100644 --- a/src/components/ExpansionBox/README.md +++ b/src/components/ExpansionBox/README.md @@ -42,7 +42,7 @@ - + ``` Available props: