浏览代码

Move margin to top

sbkwgh 8 年之前
父节点
当前提交
ec4fe5f24e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/ScrollLoad.vue

+ 2 - 2
src/components/ScrollLoad.vue

@@ -52,13 +52,13 @@
 		@at-root #{&}__button {
 			max-height: 4rem;
 			overflow: hidden;
-			margin-bottom: 2rem;
+			margin-top: 2rem;
 			text-align: center;
 			transition: all 0.2s;
 
 			@at-root #{&}--hidden {
 				max-height: 0;
-				margin-bottom: 0;
+				margin-top: 0;
 				transition: all 0.2s;
 			}
 		}