修复定时任务日志滚动

This commit is contained in:
whyour
2023-08-25 09:05:32 +08:00
parent 5907553670
commit e7be4999b0
4 changed files with 48 additions and 36 deletions
+18 -16
View File
@@ -108,22 +108,24 @@ const SubscriptionLogModal = ({
</Button>,
]}
>
{loading ? (
<PageLoading />
) : (
<pre
style={
isPhone
? {
fontFamily: 'Source Code Pro',
zoom: 0.83,
}
: {}
}
>
{value}
</pre>
)}
<div className="log-container">
{loading ? (
<PageLoading />
) : (
<pre
style={
isPhone
? {
fontFamily: 'Source Code Pro',
zoom: 0.83,
}
: {}
}
>
{value}
</pre>
)}
</div>
</Modal>
);
};