From bb86d6120f8f1d80fd32ad25c2e705a72dc38bb4 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 12 Oct 2020 13:58:35 +0100 Subject: Fix tests --- src/components/HeaderBar/index.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/components') diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index c3d46fc..a38e97b 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -1,9 +1,8 @@ /** @jsx jsx */ import { css, jsx } from "@emotion/core"; -import SVG from "react-inlinesvg"; -import header1 from "./header_1.svg"; -import header2 from "./header_2.svg"; +import Header1 from "./header_1.svg"; +import Header2 from "./header_2.svg"; interface HeaderBarProps { title?: string @@ -28,8 +27,8 @@ function HeaderBar({ title }: HeaderBarProps) { return
- - + +

Date: Mon, 12 Oct 2020 14:05:10 +0100 Subject: Fix the SVG scaling with new SVG loader --- src/components/HeaderBar/header_1.svg | 2 +- src/components/HeaderBar/header_2.svg | 2 +- src/components/HeaderBar/index.tsx | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/components') 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 @@ - + 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 @@ - + 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) { -- cgit v1.2.3