修改pre样式

This commit is contained in:
whyour 2022-11-05 14:57:21 +08:00
parent 7b2c54f6a6
commit 049c73880b
3 changed files with 13 additions and 15 deletions

View File

@ -342,3 +342,8 @@ select:-webkit-autofill:focus {
width: auto !important;
}
}
pre {
word-break: break-all !important;
white-space: break-spaces !important;
}

View File

@ -257,7 +257,6 @@ const EditModal = ({
style={{
height: '100%',
padding: '0 15px',
whiteSpace: 'break-spaces',
}}
>
{log}

View File

@ -77,8 +77,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
content: (
<pre
style={{
wordBreak: 'break-all',
whiteSpace: 'pre-wrap',
paddingTop: 15,
fontSize: 12,
fontWeight: 400,
@ -113,8 +111,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
content: (
<pre
style={{
wordBreak: 'break-all',
whiteSpace: 'pre-wrap',
fontSize: 12,
fontWeight: 400,
}}
@ -146,8 +142,6 @@ const CheckUpdate = ({ socketMessage }: any) => {
<>
<pre
style={{
wordBreak: 'break-all',
whiteSpace: 'pre-wrap',
fontSize: 12,
fontWeight: 400,
}}