Browse Source

调整任务清单页面OperationPanel区域,使可以内部出现滚动条,避免撑开整个页面

dengdx 2 months ago
parent
commit
058f744009
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pages/patient/worklist.tsx

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

@@ -11,7 +11,7 @@ const WorklistPage: React.FC = () => {
   const [drawerVisible, setDrawerVisible] = useState(false);
 
   return (
-    <div className="p-4">
+    <div className="h-full">
       {screens.xs ? (
         <>
           <WorklistTable />
@@ -33,11 +33,11 @@ const WorklistPage: React.FC = () => {
           </Drawer>
         </>
       ) : (
-        <Row gutter={16}>
+        <Row className='h-full'>
           <Col span={screens.lg ? 18 : screens.md ? 20 : 24}>
             <WorklistTable />
           </Col>
-          <Col span={screens.lg ? 6 : screens.md ? 4 : 0}>
+          <Col span={screens.lg ? 6 : screens.md ? 4 : 0} className='h-full overflow-auto'>
             <OperationPanel />
           </Col>
         </Row>