File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ export default {
3838 cursor : text ;
3939
4040 /* 内容不换行 */
41- overflow-y : auto ;
42- /* white-space: nowrap ;
43- vertical-align: middle;*/
41+ white-space : nowrap ;
42+ overflow : hidden ;
43+ vertical-align : middle ;
4444
4545 /* 复制 ant-input 样式 */
4646 box-sizing : border-box ;
@@ -62,4 +62,7 @@ export default {
6262 border-radius : 4px ;
6363 transition : all 0.3s ;
6464}
65+ .fine-tuning .fake-input {
66+ margin-top : -2px ;
67+ }
6568 </style >
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export default {
107107 </a-col >
108108 </a-row >
109109 <a-row v-for =" (item, index) of noProxyUrls" :key =" index" :gutter =" 10" >
110- <a-col :span =" 22" >
110+ <a-col :span =" 22" class = " fine-tuning " >
111111 <MockInput v-model =" item.key" />
112112 </a-col >
113113 <a-col :span =" 2" >
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ export default {
168168 </a-col >
169169 </a-row >
170170 <a-row v-for =" (item, index) of targets" :key =" index" :gutter =" 10" >
171- <a-col :span =" 18" >
171+ <a-col :span =" 18" class = " fine-tuning " >
172172 <MockInput v-model =" item.key" />
173173 </a-col >
174174 <a-col :span =" 4" >
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export default {
167167 </a-col >
168168 </a-row >
169169 <a-row v-for =" (item, index) of excludeIpList" :key =" index" :gutter =" 10" >
170- <a-col :span =" 17" >
170+ <a-col :span =" 17" class = " fine-tuning " >
171171 <MockInput v-model =" item.key" />
172172 </a-col >
173173 <a-col :span =" 5" >
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export default {
153153 delEmptySpeedHostname () {
154154 for (let i = this .getSpeedTestConfig ().hostnameList .length - 1 ; i >= 0 ; i-- ) {
155155 const hostname = this .handleHostname (this .getSpeedTestConfig ().hostnameList [i])
156- if (hostname) {
156+ if (! hostname) {
157157 this .getSpeedTestConfig ().hostnameList .splice (i, 1 )
158158 }
159159 }
Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ $dark-input: #777; //输入框:背景色
112112 border-color : #fff ;
113113 }
114114 }
115- .fake-input {
116- background-color : red ;
117- }
118115
119116 /* 卡片消息:IP测速 */
120117 .ant-card {
You can’t perform that action at this time.
0 commit comments