Explorar o código

frontend: fix page min-height issue

wangweimin %!s(int64=4) %!d(string=hai) anos
pai
achega
565137dced
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      pywebio/html/css/app.css

+ 3 - 2
pywebio/html/css/app.css

@@ -1,5 +1,7 @@
 .pywebio {
-    min-height: calc(100vh);
+    min-height: 100vh;
+    padding-top: 20px;
+    padding-bottom: 1px; /* if set 0, safari has min-height issue */
 }
 
 .container {
@@ -9,7 +11,6 @@
 
 #output-container {
     -webkit-font-smoothing: antialiased;
-    margin-top: 20px;
     margin-bottom: 20px;
 }