diff --git a/src/Dialog/__tests__/__snapshots__/Dialog.test.js.snap b/src/Dialog/__tests__/__snapshots__/Dialog.test.js.snap index e4fedd6cf..f4a7eec47 100644 --- a/src/Dialog/__tests__/__snapshots__/Dialog.test.js.snap +++ b/src/Dialog/__tests__/__snapshots__/Dialog.test.js.snap @@ -91,7 +91,7 @@ exports[`renders correctly for a compound dialog with a close button 1`] = ` display: inline-flex; } -.c11 { +.c12 { fill: inherit; position: relative; height: 1em; @@ -136,7 +136,7 @@ h6.c5 { font-size: 1rem; } -.c5 .c10 { +.c5 .c11 { top: 0.1em; } @@ -157,7 +157,7 @@ h6.c5 { border: 1px solid #e6e6e6; } -.c12 { +.c13 { padding: 1.25rem; max-height: 50vh; overflow-y: scroll; @@ -204,6 +204,18 @@ h6.c5 { outline: unset; } +.c10 { + border: 0px; + -webkit-clip: rect(0px,0px,0px,0px); + clip: rect(0px,0px,0px,0px); + height: 1px; + width: 1px; + margin: -1px; + padding: 0px; + overflow: hidden; + position: absolute; +} + @media (max-width:480px) { h1.c5 { font-size: 2rem; @@ -257,8 +269,14 @@ h6.c5 { +
+ Close +
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse diam ipsum, cursus id placerat congue, ultrices eget lectus. Duis posuere, lacus sed tristique commodo, sapien turpis mollis nunc, vestibulum consectetur lectus augue sit amet justo. diff --git a/src/DialogModal/__tests__/__snapshots__/DialogModal.test.js.snap b/src/DialogModal/__tests__/__snapshots__/DialogModal.test.js.snap index 86d3e8603..ff833af63 100644 --- a/src/DialogModal/__tests__/__snapshots__/DialogModal.test.js.snap +++ b/src/DialogModal/__tests__/__snapshots__/DialogModal.test.js.snap @@ -252,7 +252,7 @@ exports[`renders correctly for a dialog modal with a close button 1`] = ` display: inline-flex; } -.c14 { +.c15 { fill: inherit; position: relative; height: 1em; @@ -297,7 +297,7 @@ h6.c8 { font-size: 1rem; } -.c8 .c13 { +.c8 .c14 { top: 0.1em; } @@ -318,7 +318,7 @@ h6.c8 { border: 1px solid #e6e6e6; } -.c15 { +.c16 { padding: 1.25rem; max-height: 50vh; overflow-y: scroll; @@ -365,6 +365,18 @@ h6.c8 { outline: unset; } +.c13 { + border: 0px; + -webkit-clip: rect(0px,0px,0px,0px); + clip: rect(0px,0px,0px,0px); + height: 1px; + width: 1px; + margin: -1px; + padding: 0px; + overflow: hidden; + position: absolute; +} + @media (max-width:480px) { h1.c8 { font-size: 2rem; @@ -435,8 +447,14 @@ h6.c8 { +
+ Close +