summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-08-02 20:50:03 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-08-02 20:50:03 +0200
commit32dd2c2e711223722e3f5a45b362d5cadd802b47 (patch)
treed6fc393e5549c36d69cd343a74094b293f16bdb3
parent7d99c088284dbb3bb8de3fc65836c0bb69102fc7 (diff)
Made canvas scale to accommodate portrait view.
-rw-r--r--css/styles.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/css/styles.css b/css/styles.css
index 97f76a6..c0bb0b2 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -3,7 +3,10 @@ body {
}
html, body, #interactive-pacbot, #interactive-pacbot>canvas {
- height: 100%;
+ max-height: 100%;
+ max-width: 100%;
+ height: auto;
+ width: auto;
margin: 0px;
padding: 0px;
}