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;
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
word-break: break-all !important;
|
||||
white-space: break-spaces !important;
|
||||
}
|
||||
|
|
|
@ -257,7 +257,6 @@ const EditModal = ({
|
|||
style={{
|
||||
height: '100%',
|
||||
padding: '0 15px',
|
||||
whiteSpace: 'break-spaces',
|
||||
}}
|
||||
>
|
||||
{log}
|
||||
|
|
|
@ -77,8 +77,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
|||
content: (
|
||||
<pre
|
||||
style={{
|
||||
wordBreak: 'break-all',
|
||||
whiteSpace: 'pre-wrap',
|
||||
paddingTop: 15,
|
||||
fontSize: 12,
|
||||
fontWeight: 400,
|
||||
|
@ -111,16 +109,14 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
|||
title: '更新中...',
|
||||
centered: true,
|
||||
content: (
|
||||
<pre
|
||||
style={{
|
||||
wordBreak: 'break-all',
|
||||
whiteSpace: 'pre-wrap',
|
||||
fontSize: 12,
|
||||
fontWeight: 400,
|
||||
}}
|
||||
>
|
||||
{value}
|
||||
</pre>
|
||||
<pre
|
||||
style={{
|
||||
fontSize: 12,
|
||||
fontWeight: 400,
|
||||
}}
|
||||
>
|
||||
{value}
|
||||
</pre>
|
||||
),
|
||||
});
|
||||
};
|
||||
|
@ -146,8 +142,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
|
|||
<>
|
||||
<pre
|
||||
style={{
|
||||
wordBreak: 'break-all',
|
||||
whiteSpace: 'pre-wrap',
|
||||
fontSize: 12,
|
||||
fontWeight: 400,
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user