Browse Source

使注册页面的表单区域在中型屏幕上不溢出

dengdx 2 months ago
parent
commit
42003e749d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pages/patient/register.tsx

+ 3 - 3
src/pages/patient/register.tsx

@@ -47,9 +47,9 @@ const RegisterPage: React.FC = () => {
   if (screens.md || screens.lg) {
     // 中屏幕:左右两栏,右侧上下分
     return (
-      <Row gutter={16} style={{ margin: 16 }}>
-        <Col xs={24} sm={24} md={12} lg={12}>
-          <BasicInfoForm />
+      <Row gutter={16} style={{ margin: 16 }} className='h-full'>
+        <Col xs={24} sm={24} md={12} lg={12} className='h-full flex flex-column border border-red-400'     >
+          <BasicInfoForm style={{ overflow: 'auto' ,width:'100%'}}/>
         </Col>
         <Col xs={24} sm={24} md={12} lg={12}>
           <Row gutter={[0, 16]}>