From 280bb014eee06a66cd7c6a693110dfda6fad042c Mon Sep 17 00:00:00 2001 From: "qikang.yuan" Date: Tue, 14 Jan 2025 11:13:39 +0800 Subject: [PATCH] merge style files --- .../SystemContent/MPSysInfo/index.less | 25 ------------------- .../SystemContent/MPSysInfo/index.tsx | 1 - src/components/SystemContent/index.less | 25 +++++++++++++++++++ 3 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 src/components/SystemContent/MPSysInfo/index.less diff --git a/src/components/SystemContent/MPSysInfo/index.less b/src/components/SystemContent/MPSysInfo/index.less deleted file mode 100644 index 8b33af6..0000000 --- a/src/components/SystemContent/MPSysInfo/index.less +++ /dev/null @@ -1,25 +0,0 @@ -.mp-info-main { - display: flex; - align-items: center; - .info-icon { - margin-right: 10px; - height: 36px; - } -} -.mp-info-item { - padding: 8px 16px; - border-radius: 4px; - display: flex; - justify-content: space-between; -} - -.mp-info-title { - font-weight: bold; -} -.mp-info-desc { - color: #999; -} - -.mp-info-value { - font-size: 16px; -} diff --git a/src/components/SystemContent/MPSysInfo/index.tsx b/src/components/SystemContent/MPSysInfo/index.tsx index 26b3381..7638204 100644 --- a/src/components/SystemContent/MPSysInfo/index.tsx +++ b/src/components/SystemContent/MPSysInfo/index.tsx @@ -1,5 +1,4 @@ import React, { useMemo } from 'react'; -import './index.less'; import '../index.less'; import { Card, Typography, Grid, Row, Col, Empty, Space, Divider } from 'antd'; import { diff --git a/src/components/SystemContent/index.less b/src/components/SystemContent/index.less index ea05e63..f72cb4e 100644 --- a/src/components/SystemContent/index.less +++ b/src/components/SystemContent/index.less @@ -20,3 +20,28 @@ } } } +.mp-info-main { + display: flex; + align-items: center; + .info-icon { + margin-right: 10px; + height: 36px; + } +} +.mp-info-item { + padding: 8px 16px; + border-radius: 4px; + display: flex; + justify-content: space-between; +} + +.mp-info-title { + font-weight: bold; +} +.mp-info-desc { + color: #999; +} + +.mp-info-value { + font-size: 16px; +}