From b2753a9e07e42834fb59e289f1aeb2010ebf6580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20K=C5=82osi=C5=84ski?= Date: Mon, 16 Dec 2024 00:00:44 +0100 Subject: [PATCH] fix: Repair navbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the navbar responsive depending on height Refs: CU-869739xd3 Signed-off-by: Patryk Kłosiński --- frontend/src/Components/Navbar/Navbar.tsx | 46 +++++++++-------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/frontend/src/Components/Navbar/Navbar.tsx b/frontend/src/Components/Navbar/Navbar.tsx index ab9ee53..55d7bd1 100644 --- a/frontend/src/Components/Navbar/Navbar.tsx +++ b/frontend/src/Components/Navbar/Navbar.tsx @@ -1,4 +1,4 @@ -import {AppShell, Avatar, Box, Card, Group, Image, Stack, Text} from "@mantine/core"; +import {AppShell, Avatar, Card, Group, Image, ScrollArea, Stack, Text} from "@mantine/core"; import MeowHubLogo from "../../Assets/mh_logo.svg"; import {MenuButton} from "../Buttons/Menu"; import { @@ -56,33 +56,23 @@ export const Navbar = () => { {/*Menu*/} - - - - - } text={"Strona główna"} href={"/mainpage"}/> - } text={"Wyszukaj"} href={"/search"}/> - } text={"Napisz post"} href={"/createpost"}/> - } text={"Znajomi"} href={"/friends"}/> - } text={"Grupy"} href={"/groups"}/> - } text={"Obserwowani"} href={"/following"}/> - } text={"Matching"} href={"placeholder5"}/> - } text={"Wiadomości"} href={"/messages"}/> - - - } text={"Ustawienia"} href={"/settings"}/> - - - - - + + + + } text={"Strona główna"} href={"/mainpage"}/> + } text={"Wyszukaj"} href={"/search"}/> + } text={"Napisz post"} href={"/createpost"}/> + } text={"Znajomi"} href={"/friends"}/> + } text={"Grupy"} href={"/groups"}/> + } text={"Obserwowani"} href={"/following"}/> + } text={"Matching"} href={"placeholder5"}/> + } text={"Wiadomości"} href={"/messages"}/> + + + } text={"Ustawienia"} href={"/settings"}/> + + + ); } \ No newline at end of file