aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-25 04:03:51 +0100
committerGravatar Joe Banks <[email protected]>2024-08-25 04:03:51 +0100
commitdc4b918dc74c89c8b39570c5241b31416d5b8985 (patch)
treec35cd1d3587f445e75bc1d5d519873379bb22ca2
parentAdd overflow CSS for cards (diff)
Add top margin to header
-rw-r--r--thallium-frontend/src/components/Header.tsx17
1 files changed, 9 insertions, 8 deletions
diff --git a/thallium-frontend/src/components/Header.tsx b/thallium-frontend/src/components/Header.tsx
index 58e5636..bd288ac 100644
--- a/thallium-frontend/src/components/Header.tsx
+++ b/thallium-frontend/src/components/Header.tsx
@@ -5,6 +5,7 @@ const HeaderContainer = styled.header`
align-items: center;
justify-content: center;
margin-bottom: 2rem;
+ margin-top: 2rem;
img {
width: 64px;
@@ -19,14 +20,14 @@ const HeaderContainer = styled.header`
const Header = () => {
- return (
- <HeaderContainer>
- <img src="icon.svg" alt="Thallium logo" />
- <h1>
- Thallium
- </h1>
- </HeaderContainer>
- );
+ return (
+ <HeaderContainer>
+ <img src="icon.svg" alt="Thallium logo" />
+ <h1>
+ Thallium
+ </h1>
+ </HeaderContainer>
+ );
};
export default Header;