diff options
| author | 2020-10-12 14:05:10 +0100 | |
|---|---|---|
| committer | 2020-10-12 14:05:10 +0100 | |
| commit | d8d4a2b296ae62d4f309903d4533263222619874 (patch) | |
| tree | b829044388a8700e4fad05e2117613a4b4f50435 | |
| parent | Fix tests (diff) | |
Fix the SVG scaling with new SVG loader
| -rw-r--r-- | src/components/HeaderBar/header_1.svg | 2 | ||||
| -rw-r--r-- | src/components/HeaderBar/header_2.svg | 2 | ||||
| -rw-r--r-- | src/components/HeaderBar/index.tsx | 4 | 
3 files changed, 2 insertions, 6 deletions
| diff --git a/src/components/HeaderBar/header_1.svg b/src/components/HeaderBar/header_1.svg index e7db64c..c9349e5 100644 --- a/src/components/HeaderBar/header_1.svg +++ b/src/components/HeaderBar/header_1.svg @@ -1,3 +1,3 @@ -<svg width="1440" height="264" viewBox="0 0 1440 264" fill="none" id="header_1" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"> +<svg viewBox="0 0 1440 264" fill="none" id="header_1" xmlns="http://www.w3.org/2000/svg">  <path d="M-5.85724 -6.18774V109.725C71.6463 154.832 238.796 275.611 529.296 262.865C819.777 250.113 820.413 92.4954 1447.77 223.42V-6.18451L-5.85724 -6.18774Z" fill="#AFB8F0"/>  </svg> diff --git a/src/components/HeaderBar/header_2.svg b/src/components/HeaderBar/header_2.svg index e17b3e6..6e82067 100644 --- a/src/components/HeaderBar/header_2.svg +++ b/src/components/HeaderBar/header_2.svg @@ -1,3 +1,3 @@ -<svg width="1440" height="293" viewBox="0 0 1440 293" fill="none" id="header_2" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"> +<svg viewBox="0 0 1440 293" fill="none" id="header_2" xmlns="http://www.w3.org/2000/svg">  <path opacity="1" d="M1447.27 -6.18774V132.565C1428.83 231.124 1378.94 292.543 1114.48 292.543C775.159 292.543 477.003 5.74973 -6.39087 232.513V-6.18713L1447.27 -6.18774Z" fill="#7289DA"/>  </svg> diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index a38e97b..8928a08 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -14,10 +14,6 @@ top: 0;  position: absolute;  width: 100%;  transition: height 1s; - -@media (max-width: 770px) { -  height: 140px; -}  `;  function HeaderBar({ title }: HeaderBarProps) { | 
