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>pull/2691/head^2
parent
8c9096b55b
commit
46690fa72b
|
@ -1 +1 @@
|
||||||
Subproject commit cf71a8b47ec9d37da7e4facb61356a293cb0bd13
|
Subproject commit 943cd10de1f6661273d2ec18acdaa93118852714
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue