From a01fa313fe62e03451c5f4ff508119c8568f9bdd Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Thu, 20 Mar 2025 15:58:23 +0000 Subject: [PATCH] more fixing --- src/Components/AppShell/NavBar.tsx | 14 +++++++------- .../Map/Subcomponents/Controls/SearchControl.tsx | 2 +- src/Components/Templates/ItemCard.tsx | 2 +- src/Components/Templates/MapOverlayPage.tsx | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Components/AppShell/NavBar.tsx b/src/Components/AppShell/NavBar.tsx index bc26ff6a..49976fd7 100644 --- a/src/Components/AppShell/NavBar.tsx +++ b/src/Components/AppShell/NavBar.tsx @@ -69,9 +69,9 @@ export default function NavBar({ appName }: { appName: string }) { if (showNav) { return ( <> -
+
{isAuthenticated ? ( -
+
  • Profile @@ -142,10 +142,10 @@ export default function NavBar({ appName }: { appName: string }) {
) : ( -
+
-
Login
+
Login
@@ -158,7 +158,7 @@ export default function NavBar({ appName }: { appName: string }) {
  • Login diff --git a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx index 10a96a43..fdc0bda4 100644 --- a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx +++ b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx @@ -118,7 +118,7 @@ export const SearchControl = () => { placeholder='search ...' autoComplete='off' value={value} - className='tw:input tw:input-bordered tw:grow tw:shadow-xl tw:rounded-lg tw:pr-12' + className='tw:input tw:input-bordered tw:h-12 tw:grow tw:shadow-xl tw:rounded-lg tw:pr-12' ref={searchInput} onChange={(e) => setValue(e.target.value)} onFocus={() => { diff --git a/src/Components/Templates/ItemCard.tsx b/src/Components/Templates/ItemCard.tsx index 3c8e2ad0..02d86240 100644 --- a/src/Components/Templates/ItemCard.tsx +++ b/src/Components/Templates/ItemCard.tsx @@ -24,7 +24,7 @@ export const ItemCard = ({ return (
    { // We could have an onClick callback instead const params = new URLSearchParams(window.location.search) diff --git a/src/Components/Templates/MapOverlayPage.tsx b/src/Components/Templates/MapOverlayPage.tsx index 752050fa..1d3bbc70 100644 --- a/src/Components/Templates/MapOverlayPage.tsx +++ b/src/Components/Templates/MapOverlayPage.tsx @@ -45,11 +45,11 @@ export function MapOverlayPage({ >
    {children}