mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix mobile overlays going offscreen
This commit is contained in:
parent
761884ee01
commit
9cb694d65b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export function OverlayMobilePosition(props: MobilePositionProps) {
|
|||
return (
|
||||
<div
|
||||
className={classNames([
|
||||
"pointer-events-auto px-4 pb-6 z-10 bottom-0 block origin-top-left inset-x-0 absolute overflow-hidden",
|
||||
"pointer-events-auto px-4 pb-6 z-10 bottom-0 origin-top-left inset-x-0 absolute overflow-hidden max-h-[calc(100vh-1.5rem)] grid grid-rows-[minmax(0,1fr),auto]",
|
||||
props.className,
|
||||
])}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue