fix/scroll-mobile-on-dialog (#2693)
* Added mobile first css props for scroll * Fix submodule previous add * Fix mobile first css for dialog Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Submodule apps/admin updated: cf71a8b47e...943cd10de1
@@ -75,7 +75,8 @@ export const DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps
|
|||||||
: props.size == "lg"
|
: props.size == "lg"
|
||||||
? "p-6 sm:max-w-[70rem]"
|
? "p-6 sm:max-w-[70rem]"
|
||||||
: "p-6 sm:max-w-[35rem]",
|
: "p-6 sm:max-w-[35rem]",
|
||||||
`${props.className}`
|
"h-[80vh] max-h-[560px] overflow-scroll overscroll-auto md:h-auto md:max-h-[inherit]",
|
||||||
|
`${props.className || ""}`
|
||||||
)}
|
)}
|
||||||
ref={forwardedRef}>
|
ref={forwardedRef}>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user