From 2e81d53f9dc191277574e78bc739a687f46c2e31 Mon Sep 17 00:00:00 2001 From: Raphael Maenle Date: Tue, 18 Aug 2020 21:04:09 +0200 Subject: [PATCH] fixes typo, adds flex divs for improved mobile view --- server/static/css/main.css | 9 +++++---- server/template/calendar.html | 15 ++++++++++----- server/template/privacy.html | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/server/static/css/main.css b/server/static/css/main.css index f2abe06..d5917b8 100644 --- a/server/static/css/main.css +++ b/server/static/css/main.css @@ -156,7 +156,7 @@ body background-color: #eaeaea; overflow: hidden; margin: auto; - display: flex; + display: block; } .navigation_rightside { @@ -165,7 +165,7 @@ body .navigation a { float: left; - display: flex; + display: block; color: #333; text-align: center; padding: 14px 16px; @@ -289,10 +289,11 @@ body } .container { - display: inline-flex; + display: flex; + flex-wrap: wrap; justify-content: center; align-items:center; - flex-direction: row; + /* flex-direction: row; */ padding: 0px 2rem 0px 2rem; } diff --git a/server/template/calendar.html b/server/template/calendar.html index 7d919c8..d1b7f52 100644 --- a/server/template/calendar.html +++ b/server/template/calendar.html @@ -3,8 +3,8 @@
-
Calendar
-
Show on device
+
Calendar
+
Show on device
Color
@@ -22,10 +22,10 @@
{% endif %} -
{{ item.name }}
- +
{{ item.name }}
+
-
+
+
{% endfor %} @@ -48,10 +49,14 @@