From ee8692a5d5bd532a1879b29908576e01b1c91b0d Mon Sep 17 00:00:00 2001 From: selfrelease Date: Mon, 31 Aug 2026 16:00:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=B9=E7=AA=97=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E8=BE=B9=E8=B7=9D=E5=A2=9E=E8=87=B32rem=E9=98=B2=E5=88=87?= =?UTF-8?q?=E8=BE=B9,=E5=BC=B9=E7=AA=97=E6=95=B4=E4=BD=93=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web2/src/components/ui/dialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web2/src/components/ui/dialog.tsx b/web2/src/components/ui/dialog.tsx index dc82795..a5480f5 100644 --- a/web2/src/components/ui/dialog.tsx +++ b/web2/src/components/ui/dialog.tsx @@ -1,5 +1,5 @@ /** shadcn/ui 风格 Dialog(基于 @radix-ui/react-dialog) - * DialogContent 用 flex flex-col + overflow-x-hidden,适配移动端 w-[calc(100vw-1.5rem)] max-w-lg + * DialogContent 用 flex flex-col + overflow-x-hidden,适配移动端 w-[calc(100vw-2rem)] max-w-lg */ import { forwardRef } from 'react' import * as DialogPrimitive from '@radix-ui/react-dialog' @@ -35,7 +35,7 @@ const DialogContent = forwardRef<