Browse Source

解决问题:中屏幕时,注册页面表单区域竖直方向轻微溢出

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

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

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