xjj 2 жил өмнө
parent
commit
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;
-}
+}