From 74f798157f44561eb24f4dacefc60e04afe92676 Mon Sep 17 00:00:00 2001 From: Dale Harvey Date: Thu, 30 Jan 2020 11:29:14 +0100 Subject: [PATCH 1/2] Add media queries and mobile viewport --- res/welcome.html | 10 ++++++++++ src/vector/index.html | 1 + 2 files changed, 11 insertions(+) diff --git a/res/welcome.html b/res/welcome.html index 5331a934f07..67a6a0ae7ff 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -158,6 +158,16 @@ display: none; } +@media only screen and (max-width : 480px) { + .mx_ButtonRow { + flex-direction: column; + } + + .mx_ButtonRow > * { + margin: 0 0 10px 0; + } +} +
diff --git a/src/vector/index.html b/src/vector/index.html index f93eb84a1a5..6ebfc8d2680 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -15,6 +15,7 @@ + From 061619929e3d6d4a65db4101d128df966a72a892 Mon Sep 17 00:00:00 2001 From: Jovan Gerodetti Date: Wed, 27 May 2020 14:28:50 +0200 Subject: [PATCH 2/2] Integrate requested changes from #12142 --- res/welcome.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/res/welcome.html b/res/welcome.html index 67a6a0ae7ff..e9f1514a10d 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -158,14 +158,14 @@ display: none; } -@media only screen and (max-width : 480px) { - .mx_ButtonRow { - flex-direction: column; - } - - .mx_ButtonRow > * { - margin: 0 0 10px 0; - } +@media only screen and (max-width: 480px) { + .mx_ButtonRow { + flex-direction: column; + } + + .mx_ButtonRow > * { + margin: 0 0 10px 0; + } }