mirror of https://github.com/openspug/spug
U 优化展示效果
parent
465065ea1f
commit
d70fb8796b
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -76,7 +76,7 @@ function TaskIndex() {
|
|||
onClick={() => store.showHost = true}/>
|
||||
) : (
|
||||
<Button icon={<PlusOutlined/>} onClick={() => store.showHost = true}>
|
||||
从主机列表中选择
|
||||
添加目标主机
|
||||
</Button>
|
||||
)}
|
||||
</Form.Item>
|
||||
|
@ -87,8 +87,8 @@ function TaskIndex() {
|
|||
style={{marginBottom: 12}}
|
||||
value={interpreter}
|
||||
onChange={e => setInterpreter(e.target.value)}>
|
||||
<Radio.Button value="sh">Shell</Radio.Button>
|
||||
<Radio.Button value="python">Python</Radio.Button>
|
||||
<Radio.Button value="sh" style={{width: 80, textAlign: 'center'}}>Shell</Radio.Button>
|
||||
<Radio.Button value="python" style={{width: 80, textAlign: 'center'}}>Python</Radio.Button>
|
||||
</Radio.Group>
|
||||
<a href="https://spug.cc/docs/batch-exec" target="_blank" rel="noopener noreferrer"
|
||||
className={style.tips}><BulbOutlined/> 使用全局变量?</a>
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
color: #999;
|
||||
}
|
||||
|
||||
.tips:hover {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.editor {
|
||||
height: calc(100vh - 482px) !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue