样式小调整
parent
bd185c3aa5
commit
e0de75e591
|
@ -38,9 +38,9 @@ export default {
|
|||
cursor: text;
|
||||
|
||||
/* 内容不换行 */
|
||||
overflow-y: auto;
|
||||
/*white-space: nowrap;
|
||||
vertical-align: middle;*/
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
|
||||
/* 复制 ant-input 样式 */
|
||||
box-sizing: border-box;
|
||||
|
@ -62,4 +62,7 @@ export default {
|
|||
border-radius: 4px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.fine-tuning .fake-input {
|
||||
margin-top: -2px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -107,7 +107,7 @@ export default {
|
|||
</a-col>
|
||||
</a-row>
|
||||
<a-row v-for="(item, index) of noProxyUrls" :key="index" :gutter="10">
|
||||
<a-col :span="22">
|
||||
<a-col :span="22" class="fine-tuning">
|
||||
<MockInput v-model="item.key" />
|
||||
</a-col>
|
||||
<a-col :span="2">
|
||||
|
|
|
@ -168,7 +168,7 @@ export default {
|
|||
</a-col>
|
||||
</a-row>
|
||||
<a-row v-for="(item, index) of targets" :key="index" :gutter="10">
|
||||
<a-col :span="18">
|
||||
<a-col :span="18" class="fine-tuning">
|
||||
<MockInput v-model="item.key" />
|
||||
</a-col>
|
||||
<a-col :span="4">
|
||||
|
|
|
@ -167,7 +167,7 @@ export default {
|
|||
</a-col>
|
||||
</a-row>
|
||||
<a-row v-for="(item, index) of excludeIpList" :key="index" :gutter="10">
|
||||
<a-col :span="17">
|
||||
<a-col :span="17" class="fine-tuning">
|
||||
<MockInput v-model="item.key" />
|
||||
</a-col>
|
||||
<a-col :span="5">
|
||||
|
|
|
@ -153,7 +153,7 @@ export default {
|
|||
delEmptySpeedHostname () {
|
||||
for (let i = this.getSpeedTestConfig().hostnameList.length - 1; i >= 0; i--) {
|
||||
const hostname = this.handleHostname(this.getSpeedTestConfig().hostnameList[i])
|
||||
if (hostname) {
|
||||
if (!hostname) {
|
||||
this.getSpeedTestConfig().hostnameList.splice(i, 1)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,9 +112,6 @@ $dark-input: #777; //输入框:背景色
|
|||
border-color: #fff;
|
||||
}
|
||||
}
|
||||
.fake-input {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
/* 卡片消息:IP测速 */
|
||||
.ant-card {
|
||||
|
|
Loading…
Reference in New Issue