From 70779db5bf9c410a2a47e579d022ae4e17c4ad76 Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Wed, 2 Oct 2024 09:23:29 +0200 Subject: [PATCH] svg icons for everything --- app/components/InputFrontend.tsx | 4 ++-- app/components/Login.tsx | 2 +- app/styles/header.css | 12 +++++++----- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/components/InputFrontend.tsx b/app/components/InputFrontend.tsx index 7ae6fd7..1fbd1b8 100644 --- a/app/components/InputFrontend.tsx +++ b/app/components/InputFrontend.tsx @@ -49,10 +49,10 @@ const InputFrontend = React.forwardRef( onKeyDown={handleKeyDown} /> ); diff --git a/app/components/Login.tsx b/app/components/Login.tsx index e2e8c32..b56d064 100644 --- a/app/components/Login.tsx +++ b/app/components/Login.tsx @@ -81,7 +81,7 @@ const Login: React.FC = () => {
{/* Login or Settings Button */} {/* Conditional rendering of the Login Popup */} diff --git a/app/styles/header.css b/app/styles/header.css index a540ad3..af4c1c0 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -75,7 +75,7 @@ header{ .login-button-container{ position: absolute; - top: 0.2vh; + top: 0.1vh; right: 1vw; height: 100%; display: flex; @@ -83,11 +83,10 @@ header{ } .header-login-button{ + height: 100%; + width:4vw; font-size: var(--font-size); - /* position: absolute; - top: 1.5vh; - right: 1vw; */ - padding: 10px 20px; + padding: 3px; background-color: var(--input-button-color); color: var(--text-color); border: none; @@ -95,6 +94,9 @@ header{ cursor: pointer; transition: background-color 0.3s; font-family: var(--font-family); + display: flex; + justify-content: center; + align-items: center; } .header-login-button:hover {