From 96020f2b20eb65bb31ea68dc6f8595c2dddb5e81 Mon Sep 17 00:00:00 2001 From: tengge1 <930372551@qq.com> Date: Wed, 11 Mar 2020 21:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=92=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/editor/sidebar/ScriptPanel.jsx | 9 ++++++++- ShadowEditor.Web/src/editor/sidebar/css/ScriptPanel.css | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ShadowEditor.Web/src/editor/sidebar/ScriptPanel.jsx b/ShadowEditor.Web/src/editor/sidebar/ScriptPanel.jsx index c1c30d90..0229c0aa 100644 --- a/ShadowEditor.Web/src/editor/sidebar/ScriptPanel.jsx +++ b/ShadowEditor.Web/src/editor/sidebar/ScriptPanel.jsx @@ -1,5 +1,5 @@ import './css/ScriptPanel.css'; -import { Tree, IconButton } from '../../ui/index'; +import { Tree, IconButton, ToolbarSeparator } from '../../ui/index'; import ScriptWindow from './window/ScriptWindow.jsx'; /** @@ -77,6 +77,13 @@ class ScriptPanel extends React.Component { title={_t('Refresh')} onClick={this.handleRefresh} /> + + +
.toolbar>.ToolbarSeparator { + margin: 0 4px; +} + .ScriptPanel>.content { position: relative; width: calc(100% - 8px);