From 6d571094ff41036d86b0d0901b576ac5f8646513 Mon Sep 17 00:00:00 2001 From: FlorianSpeicher Date: Thu, 22 May 2025 17:45:10 +0200 Subject: [PATCH] Fixed Filter container position --- 01-frontend/src/helper/NavBar.css | 2 +- 01-frontend/src/helper/NavBar.tsx | 5 +++-- 01-frontend/src/pages/pages.css | 11 ++++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/01-frontend/src/helper/NavBar.css b/01-frontend/src/helper/NavBar.css index 8c29a41..b85e29e 100644 --- a/01-frontend/src/helper/NavBar.css +++ b/01-frontend/src/helper/NavBar.css @@ -4,7 +4,7 @@ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); position: absolute; top: 0; - height: 3rem; + width: 100%; } /* Logo styles */ diff --git a/01-frontend/src/helper/NavBar.tsx b/01-frontend/src/helper/NavBar.tsx index 41c1f87..788e777 100644 --- a/01-frontend/src/helper/NavBar.tsx +++ b/01-frontend/src/helper/NavBar.tsx @@ -15,6 +15,7 @@ import AdbIcon from '@mui/icons-material/Adb'; import { alpha, InputBase, styled } from '@mui/material'; import SearchIcon from '@mui/icons-material/Search'; import { useNavigate } from 'react-router-dom'; +import './navbar.css'; const pages = ['Categories', 'Checkout', 'Contact']; const settings = ['Account', 'Orders', 'Logout']; @@ -85,10 +86,10 @@ export default function NavBar() { return ( - + - +