From e9a9ef476358d0a7f933d123e678b0ea158b3b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Sun, 10 Nov 2024 18:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=9A=E9=80=82=E9=85=8D?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E7=A7=BB=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Role/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Role/index.tsx b/src/pages/Role/index.tsx index 4522361..296be7e 100644 --- a/src/pages/Role/index.tsx +++ b/src/pages/Role/index.tsx @@ -128,8 +128,8 @@ const RolePage = () => { <> - <div className='flex justify-between mx-auto mt-2'> - <Card className="w-[40%] h-96"> + <div className='flex md:justify-between flex-col md:flex-row mx-auto mt-2'> + <Card className="w-full md:w-[40%] h-96"> <Form form={form} layout="vertical" @@ -156,7 +156,7 @@ const RolePage = () => { </Form> </Card> - <Card className="w-[59%] [&>.ant-card-body]:!p-0"> + <Card className="w-full md:w-[59%] mt-2 md:mt-0 [&>.ant-card-body]:!p-0"> <Table rowKey="id" dataSource={roleList}