summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortunkki <tunkki@tunkkikone>2016-08-14 19:55:16 +0300
committertunkki <tunkki@tunkkikone>2016-08-14 19:55:16 +0300
commit5d49335060b54f9954a905725a675ea90c11022f (patch)
tree8d83aebc961c50e5ac01dc6d3021ca07936dafdb
parent07a43ca336f59bda14bb527ee0e09d682cedeb26 (diff)
Fix div height scaling on devices with smaller screensmaster
-rw-r--r--public/style.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/public/style.css b/public/style.css
index ff2cf54..b122d7a 100644
--- a/public/style.css
+++ b/public/style.css
@@ -11,7 +11,18 @@ body {
border-radius: 10px;
padding: 3px;
display: flex;
- height: 20vh;
+}
+
+@media all and (min-height: 800px) {
+ .system {
+ height: 20vh;
+ }
+}
+
+@media all and (max-height: 800px) {
+ .system {
+ height: 166px;
+ }
}
h1, h2, h3 {