From 504d9244a177d7e8effe2cf9116e4ca763b7b8a2 Mon Sep 17 00:00:00 2001 From: Khalid Ibrahim Date: Thu, 4 Apr 2019 13:58:08 +0800 Subject: [PATCH 1/2] index page responsive for all languages --- static/css/index.scss | 13 +++++++++++++ templates/index.mustache | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/static/css/index.scss b/static/css/index.scss index 33789bdebc..75082d288e 100644 --- a/static/css/index.scss +++ b/static/css/index.scss @@ -82,6 +82,15 @@ ul.bullet { .show-on-load { display: none; } +#split-container { + display: flex; + flex-direction: row; + width: 100%; + .puzzle-logo { + padding-left: 20px; + } +} + /* Keep this below since css after this * will be interfering with small * screen sizes @@ -98,6 +107,10 @@ ul.bullet { } } @media only screen and (max-width: 480px) { + #split-container { + display: block; + width: auto; + } .top-image { display: block; } diff --git a/templates/index.mustache b/templates/index.mustache index 9271a2c46a..bd6ed1e43a 100644 --- a/templates/index.mustache +++ b/templates/index.mustache @@ -34,13 +34,13 @@
-
+

.

-
+
From 9e016fb24a24d76f311319206e4f3e2ab728e998 Mon Sep 17 00:00:00 2001 From: Khalid Ibrahim Date: Thu, 4 Apr 2019 14:27:35 +0800 Subject: [PATCH 2/2] deleted spaces --- static/css/_footer.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/css/_footer.scss b/static/css/_footer.scss index dfe1fc5eb6..65a2e31324 100644 --- a/static/css/_footer.scss +++ b/static/css/_footer.scss @@ -187,8 +187,6 @@ } @media screen and (max-width: 400px) { .regulation-logos { - - .vanuatu-icon { width: 120px; margin-left: -30px;