fix(home): ie11 support: fix top and bottom svgs

This commit is contained in:
Jeremy
2020-01-22 04:30:37 -05:00
committed by Jean-Philippe Sirois
parent c06c7df749
commit 8ff7a97566
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -13,6 +13,7 @@ const waves = css`
export const StyledWavesTop = styled(WavesTop)`
${waves};
top: 0;
left: 0;
`
export const StyledWavesBottom = styled(WavesBottom)`
+1 -1
View File
@@ -1,4 +1,4 @@
<svg fill="none" viewBox="0 0 1825 862">
<svg fill="none" viewBox="0 0 1825 862" preserveAspectRatio="xMaxYmax slice">
<mask id="#bot_mask" width="1825" height="862" x="0" y="0" maskUnits="userSpaceOnUse">
<path fill="#C4C4C4" d="M0 0h1825v862H0z"/>
</mask>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<svg fill="none" viewBox="0 0 1825 859">
<svg fill="none" viewBox="0 0 1825 859" width="1825" height="859" preserveAspectRatio="xMinYMin meet">
<mask id="top_mask" width="1825" height="859" x="0" y="0" maskUnits="userSpaceOnUse">
<path fill="#C4C4C4" d="M0 0h1825v859H0z"/>
</mask>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB