mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
修复日志弹框样式
This commit is contained in:
parent
f2dbb64984
commit
25236958ff
|
@ -14,9 +14,18 @@ body {
|
||||||
background-color: rgb(248, 248, 248);
|
background-color: rgb(248, 248, 248);
|
||||||
}
|
}
|
||||||
|
|
||||||
.log-modal .ant-modal {
|
.log-modal {
|
||||||
padding-bottom: 0 !important;
|
.ant-modal {
|
||||||
width: 580px !important;
|
padding-bottom: 0 !important;
|
||||||
|
width: 580px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
white-space: break-spaces;
|
||||||
|
line-height: 17px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-editor:not(.rename-box) {
|
.monaco-editor:not(.rename-box) {
|
||||||
|
|
|
@ -108,20 +108,13 @@ const CronLogModal = ({
|
||||||
{!loading && value && (
|
{!loading && value && (
|
||||||
<pre
|
<pre
|
||||||
style={
|
style={
|
||||||
!isPhone
|
isPhone
|
||||||
? {
|
? {
|
||||||
whiteSpace: 'break-spaces',
|
|
||||||
lineHeight: '17px',
|
|
||||||
marginBottom: 0,
|
|
||||||
}
|
|
||||||
: {
|
|
||||||
whiteSpace: 'break-spaces',
|
|
||||||
lineHeight: '17px',
|
|
||||||
marginBottom: 0,
|
|
||||||
fontFamily: 'Source Code Pro',
|
fontFamily: 'Source Code Pro',
|
||||||
width: 375,
|
width: 375,
|
||||||
zoom: 0.83,
|
zoom: 0.83,
|
||||||
}
|
}
|
||||||
|
: {}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{value}
|
{value}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user