Prechádzať zdrojové kódy

style: 修改tab间距

ZhaoJun 1 rok pred
rodič
commit
661e6076e0

+ 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={[