mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
Merge pull request #211 from puremana/fix-svg-across-res
Fix svg waves across resolutions
This commit is contained in:
@@ -13,7 +13,7 @@ const waves = css`
|
||||
export const StyledWavesTop = styled(WavesTop)`
|
||||
${waves};
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 87vh;
|
||||
`
|
||||
|
||||
export const StyledWavesBottom = styled(WavesBottom)`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<svg fill="none" viewBox="0 0 1825 862" preserveAspectRatio="xMaxYmax slice">
|
||||
<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>
|
||||
@@ -30,10 +30,5 @@
|
||||
<stop offset=".51" stop-color="#FF70A5"/>
|
||||
<stop offset="1" stop-color="#FEAF6D"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="bot_gradient5" x1="1822.96" x2="1382.5" y1="1171.81" y2="-194.38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#9423FC"/>
|
||||
<stop offset=".51" stop-color="#FF70A5"/>
|
||||
<stop offset="1" stop-color="#FEAF6D"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -1,4 +1,4 @@
|
||||
<svg fill="none" viewBox="0 0 1825 859" width="1825" height="859" preserveAspectRatio="xMinYMin meet">
|
||||
<svg fill="none" viewBox="0 0 1825 859" width="1825" height="859" preserveAspectRatio="xMaxYMin 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 |
Reference in New Issue
Block a user