修改调试日志样式

This commit is contained in:
whyour 2022-11-02 19:54:49 +08:00
parent 4272b9ea35
commit 409297c6aa
2 changed files with 11 additions and 3 deletions

View File

@ -179,8 +179,8 @@
.Resizer {
background: @component-background;
opacity: 0.2;
z-index: 1;
opacity: 0.8;
z-index: 100;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

View File

@ -253,7 +253,15 @@ const EditModal = ({
editorRef.current = editor;
}}
/>
<pre style={{ height: '100%', whiteSpace: 'break-spaces' }}>{log}</pre>
<pre
style={{
height: '100%',
padding: '0 15px',
whiteSpace: 'break-spaces',
}}
>
{log}
</pre>
</SplitPane>
<SaveModal
visible={saveModalVisible}