diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts b/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts index 1caa1108bd6..0f6e1f243e8 100644 --- a/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts +++ b/packages/dnb-eufemia/src/components/upload/__tests__/Upload.screenshot.test.ts @@ -45,6 +45,7 @@ describe.each(['ui', 'sbanken'])('Upload for %s', (themeName) => { it('have to match disabled file max size', async () => { const screenshot = await makeScreenshot({ + style: { height: '14rem' }, selector: '[data-visual-test="upload-disabled-file-max-size"]', }) expect(screenshot).toMatchImageSnapshot() diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png index dba47524de2..84df27d45da 100644 Binary files a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png and b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-sbanken-have-to-match-disabled-file-max-size.snap.png differ diff --git a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png index 40c35346f10..6dfd78b71f3 100644 Binary files a/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png and b/packages/dnb-eufemia/src/components/upload/__tests__/__image_snapshots__/upload-for-ui-have-to-match-disabled-file-max-size.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/lists/style/lists-mixins.scss b/packages/dnb-eufemia/src/elements/lists/style/lists-mixins.scss index 17a994a533c..ea223cfe280 100644 --- a/packages/dnb-eufemia/src/elements/lists/style/lists-mixins.scss +++ b/packages/dnb-eufemia/src/elements/lists/style/lists-mixins.scss @@ -156,6 +156,7 @@ display: flex; flex-wrap: wrap; max-width: 60ch; // to enhance readability + width: 100%; & dt { margin-top: 0; diff --git a/packages/dnb-eufemia/src/style/elements/__tests__/__snapshots__/Elements.test.js.snap b/packages/dnb-eufemia/src/style/elements/__tests__/__snapshots__/Elements.test.js.snap index c96e523debd..f2364b55c58 100644 --- a/packages/dnb-eufemia/src/style/elements/__tests__/__snapshots__/Elements.test.js.snap +++ b/packages/dnb-eufemia/src/style/elements/__tests__/__snapshots__/Elements.test.js.snap @@ -490,6 +490,7 @@ del .dnb-code { display: flex; flex-wrap: wrap; max-width: 60ch; + width: 100%; } .dnb-dl__layout--horizontal dt { margin-top: 0;