Skip to content

Commit

Permalink
fix: Map button hidden on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Nov 18, 2024
1 parent 32f01ec commit f0ef940
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/app/student/map/_components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,13 @@ export default function Sidebar({
e.key === "Enter" && searchInputRef.current?.blur()
}
/>
<DialogClose asChild>
<Button variant={"outline"} className="flex gap-2">
<MapIcon size={15} /> Map
</Button>
</DialogClose>
{smallScreen && (
<DialogClose asChild>
<Button variant={"outline"} className="flex gap-2">
<MapIcon size={15} /> Map
</Button>
</DialogClose>
)}
</div>
<div className="flex gap-1">
<Dialog>
Expand Down

0 comments on commit f0ef940

Please sign in to comment.