瀏覽代碼

Align to center of button

sbkwgh 8 年之前
父節點
當前提交
ef734e8589
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/components/LoadingButton.vue

+ 3 - 0
src/components/LoadingButton.vue

@@ -40,6 +40,9 @@
 		@at-root #{&}__slot {
 			transition: all 0.2s;
 			opacity: 1;
+			display: flex;
+			align-items: center;
+			height: 100%;
 		}