소스 검색

style: 修改tab间距

ZhaoJun 1 년 전
부모
커밋
661e6076e0
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      src/pages/SmartOps/components/DeviceAnalysis.js
  2. 2 1
      src/pages/SmartOps/components/VideoAnalysis.js

+ 2 - 1
src/pages/SmartOps/components/DeviceAnalysis.js

@@ -185,7 +185,8 @@ const DeviceAnalysis = (props) => {
   return (
     <div style={{ height: 'calc(100vh - 5.6rem)', overflow: 'auto' }}>
       <TabsContent
-        small={true}
+        small
+        spacing={2.5}
         center={false}
         defaultActiveKey="1"
         items={data?.map((item) => {

+ 2 - 1
src/pages/SmartOps/components/VideoAnalysis.js

@@ -74,7 +74,8 @@ function VideoAnalysis(props) {
     <Spin spinning={loading}>
       <div style={{ height: 'calc(100vh - 5.6rem)', overflow: 'auto' }}>
         <TabsContent
-          small={true}
+          small
+          spacing={2.5}
           center={false}
           defaultActiveKey="1"
           items={[