min width 360px for Dialog.tsx
This commit is contained in:
parent
3fd3e9ad83
commit
110ee2ac4a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export function Dialog({ children, ...props }) {
|
||||||
export const DialogContent = React.forwardRef(({ children, ...props }, forwardedRef) => (
|
export const DialogContent = React.forwardRef(({ children, ...props }, forwardedRef) => (
|
||||||
<DialogPrimitive.Content
|
<DialogPrimitive.Content
|
||||||
{...props}
|
{...props}
|
||||||
className="fixed bg-white rounded top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-left overflow-hidden shadow-xl sm:align-middle sm:max-w-lg sm:w-full p-6"
|
className="fixed bg-white min-w-[360px] rounded top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-left overflow-hidden shadow-xl sm:align-middle sm:max-w-lg sm:w-full p-6"
|
||||||
ref={forwardedRef}>
|
ref={forwardedRef}>
|
||||||
{children}
|
{children}
|
||||||
</DialogPrimitive.Content>
|
</DialogPrimitive.Content>
|
||||||
|
|
Loading…
Reference in a new issue