xjj 2 年之前
父節點
當前提交
56cd166f85
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      src/global.less

+ 10 - 1
src/global.less

@@ -1,4 +1,13 @@
 // Reset default browser styles
+* {
+  box-sizing: border-box;
+}
+
+body,
+#root {
+  min-height: 100vh;
+}
+
 html,
 body,
 ul,
@@ -84,4 +93,4 @@ input[type='reset'] {
 // Remove outline on focus
 *:focus {
   outline: none;
-}
+}