summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-10-20 23:04:23 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-10-20 23:04:23 +0200 |
commit | b034928ca9a5540f630b7746b8972e582701f82b (patch) | |
tree | 88d9ad25d56ac58cf643a2f5ef7cb81dacbfb658 /src/battlemap/www | |
parent | 090560af836c645f509fd1fa22fd401b0d85f0e4 (diff) |
Improves UI. Makes way for visually scalable bmap.
Diffstat (limited to 'src/battlemap/www')
-rw-r--r-- | src/battlemap/www/index.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/battlemap/www/index.html b/src/battlemap/www/index.html index 21c6a27..a7308e5 100644 --- a/src/battlemap/www/index.html +++ b/src/battlemap/www/index.html @@ -2,9 +2,26 @@ <html> <head> <style> + html + { + height: 100%; + } + + html, body, .battlemap + { + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + } + .battlemap-container { - position: relative; + overflow: auto; + resize: vertical; + width: inherit; + height: 70%; } .battlemap-tiled |