diff --git a/sass/components/_modal.scss b/sass/components/_modal.scss index c16e7fc2ef..5d3b5bedb2 100644 --- a/sass/components/_modal.scss +++ b/sass/components/_modal.scss @@ -60,11 +60,9 @@ dialog::backdrop { // Modal Bottom Sheet Style .modal.bottom-sheet { - top: auto; - bottom: -100%; - margin: 0; - width: 100%; + margin-bottom: 0; max-height: 45%; - border-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; will-change: bottom, opacity; } diff --git a/spec/tests/modal/modalSpec.js b/spec/tests/modal/modalSpec.js index c374e0a172..10ac243a6d 100644 --- a/spec/tests/modal/modalSpec.js +++ b/spec/tests/modal/modalSpec.js @@ -1,113 +1,59 @@ /* eslint-disable no-undef */ describe('Modal:', () => { - let trigger1, modal1; + const fixture = `Modal + - const fixture = ` -Modal - - - -