From 375af0798ed1b47bec72d59beadd942e9f393a8c Mon Sep 17 00:00:00 2001 From: djmil Date: Tue, 24 Oct 2023 09:37:02 +0200 Subject: [PATCH] front: center Header actions --- webapp/src/components/Header/index.css | 5 +++-- webapp/src/components/Header/index.jsx | 6 +----- webapp/src/components/Header/wave.css | 2 ++ 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/webapp/src/components/Header/index.css b/webapp/src/components/Header/index.css index 1cd380f..d1f3ba0 100644 --- a/webapp/src/components/Header/index.css +++ b/webapp/src/components/Header/index.css @@ -20,9 +20,10 @@ nav a { color: lightgray; text-decoration: none; transition: .25s ease; + width: 100px; - margin-left: 30px; - margin-right: 30px; + margin-left: 5px; + margin-right: 5px; padding: 0.25rem 1rem; } diff --git a/webapp/src/components/Header/index.jsx b/webapp/src/components/Header/index.jsx index ebaa4d0..40a5e08 100644 --- a/webapp/src/components/Header/index.jsx +++ b/webapp/src/components/Header/index.jsx @@ -35,11 +35,7 @@ export default function Header() { - A - b - o - u - t + About diff --git a/webapp/src/components/Header/wave.css b/webapp/src/components/Header/wave.css index 43ddd33..f720945 100644 --- a/webapp/src/components/Header/wave.css +++ b/webapp/src/components/Header/wave.css @@ -3,6 +3,8 @@ .woble { display: flex; cursor: pointer; + justify-content: center; + align-items: center; /* text-transform: uppercase; */ /* font-size: 1.5rem; */ /* padding: 1rem 2rem; */