diff --git a/apps/infoalloggi/src/components/expandable_screen.tsx b/apps/infoalloggi/src/components/expandable_screen.tsx index 708d76e..a34a67a 100644 --- a/apps/infoalloggi/src/components/expandable_screen.tsx +++ b/apps/infoalloggi/src/components/expandable_screen.tsx @@ -9,6 +9,7 @@ import { useEffect, useState, } from "react"; +import { cn } from "~/lib/utils"; // Context interface ExpandableScreenContextValue { @@ -184,10 +185,11 @@ export function ExpandableScreenContent({ {showCloseButton && ( diff --git a/apps/infoalloggi/src/styles/globals.css b/apps/infoalloggi/src/styles/globals.css index 6f9be49..8f343af 100644 --- a/apps/infoalloggi/src/styles/globals.css +++ b/apps/infoalloggi/src/styles/globals.css @@ -313,6 +313,10 @@ /* .leaflet-control-attribution { @apply !sr-only; } */ + + [data-vaul-drawer][data-vaul-drawer-direction="bottom"] { + @apply !max-h-[90vh]; + } } @utility dropdown-override {