border modal fix

This commit is contained in:
zmeyer44 2023-10-16 00:59:38 -04:00
parent 5868f19db3
commit db95bbbe6d
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ export default function Leaflet({
<motion.div
ref={leafletRef}
key="leaflet"
className="standalone-pb-8 group fixed inset-x-0 bottom-0 z-modal max-h-[95vh] w-screen cursor-grab rounded-t-lg bg-background pb-5 active:cursor-grabbing sm:hidden"
className="standalone-pb-8 group fixed inset-x-0 bottom-0 z-modal max-h-[95vh] w-screen cursor-grab rounded-t-lg border border-b-0 bg-background pb-5 active:cursor-grabbing sm:hidden"
initial={{ y: "100%" }}
animate={controls}
exit={{ y: "100%" }}

View File

@ -18,7 +18,7 @@ export default function Template({ title, children, className }: ModalProps) {
return (
<div
className={cn(
"relative w-full grow border bg-background p-4 shadow md:rounded-lg md:p-6",
"relative w-full grow bg-background p-4 shadow sm:border md:rounded-lg md:p-6",
className,
)}
>