diff options
| author | tunkki <tunkki@tunkkikone> | 2016-08-14 19:55:16 +0300 |
|---|---|---|
| committer | tunkki <tunkki@tunkkikone> | 2016-08-14 19:55:16 +0300 |
| commit | 5d49335060b54f9954a905725a675ea90c11022f (patch) | |
| tree | 8d83aebc961c50e5ac01dc6d3021ca07936dafdb | |
| parent | 07a43ca336f59bda14bb527ee0e09d682cedeb26 (diff) | |
Fix div height scaling on devices with smaller screensmaster
| -rw-r--r-- | public/style.css | 13 |
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 { |
