fix: waves have min-width for mobiles not to feel 'bumpy'

This commit is contained in:
Adrien Marquès 2019-05-10 23:30:08 +02:00
parent d72ebdba61
commit 29ae8b2e45
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@
position: absolute; position: absolute;
top: calc( 100% - #{$wave-height} ); top: calc( 100% - #{$wave-height} );
left: 0; left: 0;
// waves are too "bumpy" on mobile
min-width: 40rem;
width: 100%; width: 100%;
height: calc( #{$wave-height} + 1px ); height: calc( #{$wave-height} + 1px );