修改日志弹框样式

This commit is contained in:
whyour 2023-08-16 22:14:45 +08:00
parent 637874e426
commit b40673e9ac
6 changed files with 11 additions and 27 deletions

View File

@ -32,9 +32,16 @@ body {
}
.log-modal {
.ant-modal {
padding-bottom: 0 !important;
width: 580px !important;
&.ant-modal {
max-width: 1000px !important;
width: 80vw !important;
}
.ant-modal-body {
overflow-y: auto;
min-height: 300px;
max-height: 80vh;
max-height: calc(80vh - var(--vh-offset, 0px));
}
pre {

View File

@ -186,18 +186,6 @@ tr.drop-over-upward td {
}
}
.log-modal {
.log-container {
overflow-y: auto;
min-height: 300px;
max-height: calc(80vh - 110px);
max-height: calc(80vh - var(--vh-offset, 110px));
padding: 24px;
margin: -24px;
}
}
body[data-mode='desktop'] {
.crontab-wrapper {
tbody .ant-table-cell {

View File

@ -68,7 +68,7 @@ const Crontab = () => {
title: intl.get('名称'),
dataIndex: 'name',
key: 'name',
fixed: isPhone ? undefined : 'left',
fixed: 'left',
width: 120,
render: (text: string, record: any) => (
<>

View File

@ -124,9 +124,6 @@ const CronLogModal = ({
open={visible}
centered
className="log-modal"
bodyStyle={{
minHeight: '300px',
}}
forceRender
onOk={() => cancel()}
onCancel={() => cancel()}

View File

@ -121,11 +121,6 @@ const DependenceLogModal = ({
open={visible}
centered
className="log-modal"
bodyStyle={{
overflowY: 'auto',
maxHeight: 'calc(70vh - var(--vh-offset, 0px))',
minHeight: '300px',
}}
forceRender
onOk={() => cancel()}
onCancel={() => cancel()}

View File

@ -99,9 +99,6 @@ const SubscriptionLogModal = ({
open={visible}
centered
className="log-modal"
bodyStyle={{
minHeight: '300px',
}}
forceRender
onOk={() => cancel()}
onCancel={() => cancel()}