From efc6bf5f2b20d582524576a3fee7b7129fffe1aa Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 15 Apr 2022 22:54:39 +0800 Subject: [PATCH] U update styles --- spug_web/src/pages/exec/task/Output.js | 4 ++-- spug_web/src/pages/exec/task/index.module.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spug_web/src/pages/exec/task/Output.js b/spug_web/src/pages/exec/task/Output.js index 4729940..e4497f7 100644 --- a/spug_web/src/pages/exec/task/Output.js +++ b/spug_web/src/pages/exec/task/Output.js @@ -30,9 +30,9 @@ function OutView(props) { useEffect(() => { store.tag = '' gCurrent = current - term.setOption('disableStdin', false) + term.setOption('disableStdin', true) term.setOption('fontFamily', 'Source Code Pro, Courier New, Courier, Monaco, monospace, PingFang SC, Microsoft YaHei') - term.setOption('theme', {background: '#f0f0f0', foreground: '#000', selection: '#999', cursor: '#f0f0f0'}) + term.setOption('theme', {background: '#2b2b2b', foreground: '#A9B7C6', cursor: '#2b2b2b'}) term.loadAddon(fitPlugin) term.open(el.current) fitPlugin.fit() diff --git a/spug_web/src/pages/exec/task/index.module.less b/spug_web/src/pages/exec/task/index.module.less index f830497..e6add70 100644 --- a/spug_web/src/pages/exec/task/index.module.less +++ b/spug_web/src/pages/exec/task/index.module.less @@ -255,9 +255,9 @@ .termContainer { - background-color: #f0f0f0; + background-color: #2b2b2b; padding: 8px 0 4px 12px; - border-radius: 2px; + border-radius: 4px; .term { width: 100%;