Commit 82ffe887 authored by 皮倩雯's avatar 皮倩雯

fix: '日志管理样式优化'

parent efa9b0be
Pipeline #76680 passed with stages
...@@ -17,7 +17,7 @@ import { ...@@ -17,7 +17,7 @@ import {
Tag, Tag,
Modal, Modal,
} from 'antd'; } from 'antd';
import { SwapRightOutlined, SyncOutlined } from '@ant-design/icons'; import { CalculatorFilled, SwapRightOutlined, SyncOutlined } from '@ant-design/icons';
import moment from 'moment'; import moment from 'moment';
import 'moment/dist/locale/zh-cn'; import 'moment/dist/locale/zh-cn';
import locale from 'antd/es/date-picker/locale/zh_CN'; import locale from 'antd/es/date-picker/locale/zh_CN';
...@@ -125,7 +125,7 @@ const LogCenter = () => { ...@@ -125,7 +125,7 @@ const LogCenter = () => {
title: '调用时间', title: '调用时间',
dataIndex: 'time', dataIndex: 'time',
key: 'time', key: 'time',
width: 120, width: 140,
align: 'center', align: 'center',
}, },
{ {
...@@ -346,7 +346,6 @@ const LogCenter = () => { ...@@ -346,7 +346,6 @@ const LogCenter = () => {
style={{ style={{
marginLeft: '25px', marginLeft: '25px',
verticalAlign: 'middle', verticalAlign: 'middle',
marginTop: '-3px',
}} }}
> >
重置 重置
...@@ -358,7 +357,7 @@ const LogCenter = () => { ...@@ -358,7 +357,7 @@ const LogCenter = () => {
bordered bordered
columns={columns} columns={columns}
dataSource={keepTableList} dataSource={keepTableList}
scroll={{ x: 'max-content', y: 'calc(100vh - 225px)' }} scroll={{ y: 'calc(100% - 35px)' }}
pagination={false} pagination={false}
onChange={onChangeInput} onChange={onChangeInput}
loading={loading} loading={loading}
......
.centerLog { .centerLog {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex;
flex-direction: column;
.head { .head {
padding: 10px; padding: 10px;
background: white; background: white;
margin-bottom: 2px; margin-bottom: 2px;
width: 100%; width: 100%;
height: 52px; display: flex;
align-items: center;
flex-wrap: wrap;
} }
.table { .table {
height: calc(100% - 95px); flex: 1;
width: 100%; width: 100%;
background-color: white; background-color: white;
padding: 10px; padding: 10px;
overflow: hidden; overflow: hidden;
margin-bottom: 3px; margin-bottom: 3px;
:global {
.ant-table-wrapper {
height: 100%;
.ant-spin-nested-loading {
height: 100%;
.ant-spin-container{
height: 100%;
.ant-table.ant-table-small{
height: 100%;
.ant-table-container {
height: 100%;
}
}
}
}
}
}
} }
.footer{ .footer{
width: 100%; width: 100%;
...@@ -26,7 +55,6 @@ ...@@ -26,7 +55,6 @@
} }
.icon { .icon {
margin-top: -5px !important;
vertical-align: text-bottom; vertical-align: text-bottom;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment