mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +08:00
修改日志弹框样式
This commit is contained in:
parent
637874e426
commit
b40673e9ac
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) => (
|
||||
<>
|
||||
|
|
|
@ -124,9 +124,6 @@ const CronLogModal = ({
|
|||
open={visible}
|
||||
centered
|
||||
className="log-modal"
|
||||
bodyStyle={{
|
||||
minHeight: '300px',
|
||||
}}
|
||||
forceRender
|
||||
onOk={() => cancel()}
|
||||
onCancel={() => cancel()}
|
||||
|
|
|
@ -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()}
|
||||
|
|
|
@ -99,9 +99,6 @@ const SubscriptionLogModal = ({
|
|||
open={visible}
|
||||
centered
|
||||
className="log-modal"
|
||||
bodyStyle={{
|
||||
minHeight: '300px',
|
||||
}}
|
||||
forceRender
|
||||
onOk={() => cancel()}
|
||||
onCancel={() => cancel()}
|
||||
|
|
Loading…
Reference in New Issue
Block a user