浏览代码

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

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

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