summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-23 22:37:26 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-23 22:37:26 +0200
commitf2a1d30e4ec6c0c8a285176c5bc40d84cd08f7a1 (patch)
tree4dd6e2e85087aa90ce3f074fca8c2cd223cfabf1 /src/battlemap/www
parent394a1869195671b37242f296f80ba1d9728e951f (diff)
Attempts to fix the CSS...
Diffstat (limited to 'src/battlemap/www')
-rw-r--r--src/battlemap/www/index.html33
1 files changed, 22 insertions, 11 deletions
diff --git a/src/battlemap/www/index.html b/src/battlemap/www/index.html
index 35c7e75..1c4969d 100644
--- a/src/battlemap/www/index.html
+++ b/src/battlemap/www/index.html
@@ -16,12 +16,32 @@
left: 0;
}
+ .battlemap
+ {
+ display: flex;
+ flex-flow: column;
+ align-content: stretch;
+ justify-content: stretch;
+ }
+
+ .battlemap-header
+ {
+ text-align: center;
+ flex: 0;
+ }
+
.battlemap-container
{
overflow: auto;
- resize: vertical;
width: inherit;
- height: 70%;
+ flex: 1;
+ }
+
+ .battlemap-footer
+ {
+ display: flex;
+ flex: 0;
+ max-height: 30%;
}
.battlemap-actual
@@ -142,23 +162,14 @@
content: "x";
}
- .battlemap-footer
- {
- display: flex;
- }
.battlemap-footer-tabmenu
{
flex: 1;
-
- display: flex;
- flex-direction: column;
}
.battlemap-footer-tabmenu-selector
{
- flex: 1;
-
display: flex;
flex-direction: row;
justify-content: space-between;