diff --git a/spug_web/src/components/index.module.less b/spug_web/src/components/index.module.less
index 75214d2..dcad492 100644
--- a/spug_web/src/components/index.module.less
+++ b/spug_web/src/components/index.module.less
@@ -52,17 +52,13 @@
border: 1px solid #f0f0f0;
background: #fff;
border-radius: 2px;
-
- :global(.ant-pagination) {
- padding: 0 24px;
- }
+ padding: 24px;
.toolbar {
display: flex;
align-items: center;
justify-content: space-between;
- height: 64px;
- padding: 0 24px;
+ margin-bottom: 20px;
.title {
flex: 1;
diff --git a/spug_web/src/index.css b/spug_web/src/index.css
index 55b385e..b613b46 100644
--- a/spug_web/src/index.css
+++ b/spug_web/src/index.css
@@ -2,7 +2,7 @@
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Microsoft YaHei, PingFang SC, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow: hidden;
@@ -18,7 +18,7 @@ div::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb {
}
code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace, Microsoft YaHei, PingFang SC;
+ font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace, PingFang SC, Microsoft YaHei;
}
.ant-form-item-extra {
diff --git a/spug_web/src/pages/exec/task/index.js b/spug_web/src/pages/exec/task/index.js
index 1e66629..c9e665d 100644
--- a/spug_web/src/pages/exec/task/index.js
+++ b/spug_web/src/pages/exec/task/index.js
@@ -76,7 +76,7 @@ function TaskIndex() {
onClick={() => store.showHost = true}/>
) : (
)}
@@ -87,8 +87,8 @@ function TaskIndex() {
style={{marginBottom: 12}}
value={interpreter}
onChange={e => setInterpreter(e.target.value)}>
- Shell
- Python
+ Shell
+ Python
使用全局变量?
diff --git a/spug_web/src/pages/exec/task/index.module.less b/spug_web/src/pages/exec/task/index.module.less
index fc0af32..83e76f5 100644
--- a/spug_web/src/pages/exec/task/index.module.less
+++ b/spug_web/src/pages/exec/task/index.module.less
@@ -21,6 +21,10 @@
color: #999;
}
+ .tips:hover {
+ color: #777;
+ }
+
.editor {
height: calc(100vh - 482px) !important;
}