File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494 <input class =" form-control" placeholder =" 点击获取短链" v-model.trim =" result.shortUrl" />
9595 </div >
9696 <div class =" col-12 col-md-2" >
97- <el-button type =" primary" :loading =" isShortUrlLoading" @click =" getShortUrl()" style =" width : 100% " >短链</el-button >
97+ <el-button type =" primary" :loading =" isShortUrlLoading" @click =" getShortUrl()" style =" width : 100% " class = " short-url-btn " >短链</el-button >
9898 </div >
9999 </div >
100100 </div >
@@ -349,4 +349,16 @@ export default {
349349.dark - style .form - control:: placeholder {
350350 color: #5c617a ;
351351}
352+
353+ /* Fix button text shifting on loading */
354+ .short - url- btn {
355+ position: relative;
356+ }
357+ .short - url- btn : deep (.el - icon .is - loading ) {
358+ position: absolute;
359+ left: 15px ;
360+ top: 50 % ;
361+ transform: translateY (- 50 % );
362+ margin- right: 0 ! important;
363+ }
352364< / style>
You can’t perform that action at this time.
0 commit comments