mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修改pre样式
This commit is contained in:
parent
7b2c54f6a6
commit
049c73880b
|
@ -342,3 +342,8 @@ select:-webkit-autofill:focus {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
word-break: break-all !important;
|
||||||
|
white-space: break-spaces !important;
|
||||||
|
}
|
||||||
|
|
|
@ -257,7 +257,6 @@ const EditModal = ({
|
||||||
style={{
|
style={{
|
||||||
height: '100%',
|
height: '100%',
|
||||||
padding: '0 15px',
|
padding: '0 15px',
|
||||||
whiteSpace: 'break-spaces',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{log}
|
{log}
|
||||||
|
|
|
@ -77,8 +77,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
||||||
content: (
|
content: (
|
||||||
<pre
|
<pre
|
||||||
style={{
|
style={{
|
||||||
wordBreak: 'break-all',
|
|
||||||
whiteSpace: 'pre-wrap',
|
|
||||||
paddingTop: 15,
|
paddingTop: 15,
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
|
@ -111,16 +109,14 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
||||||
title: '更新中...',
|
title: '更新中...',
|
||||||
centered: true,
|
centered: true,
|
||||||
content: (
|
content: (
|
||||||
<pre
|
<pre
|
||||||
style={{
|
style={{
|
||||||
wordBreak: 'break-all',
|
fontSize: 12,
|
||||||
whiteSpace: 'pre-wrap',
|
fontWeight: 400,
|
||||||
fontSize: 12,
|
}}
|
||||||
fontWeight: 400,
|
>
|
||||||
}}
|
{value}
|
||||||
>
|
</pre>
|
||||||
{value}
|
|
||||||
</pre>
|
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -146,8 +142,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
||||||
<>
|
<>
|
||||||
<pre
|
<pre
|
||||||
style={{
|
style={{
|
||||||
wordBreak: 'break-all',
|
|
||||||
whiteSpace: 'pre-wrap',
|
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user