소스 검색

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

dengdx 4 달 전
부모
커밋
bfd7000b94
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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}>