修改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
-1
View File
@@ -257,7 +257,6 @@ const EditModal = ({
style={{
height: '100%',
padding: '0 15px',
whiteSpace: 'break-spaces',
}}
>
{log}
+8 -14
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,
@@ -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,
}}