From f2a1d30e4ec6c0c8a285176c5bc40d84cd08f7a1 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 23 Oct 2017 22:37:26 +0200 Subject: Attempts to fix the CSS... --- Makefile | 3 +++ src/battlemap/www/index.html | 33 ++++++++++++++++++++++----------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 6f65c2d..7fd0709 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ MODULES_WWW = $(addprefix $(WWW_DIR)/,$(MODULES)) all: build $(WWW_DIR) $(MODULES_WWW) +upload_demo: + scp -r $(WWW_DIR)/* dreamhost:~/tacticians.online/ + build: for module in $(MODULES_SRC) ; do \ $(MAKE) -C $$module build ; \ 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; -- cgit v1.2.3-70-g09d2