From 74f798157f44561eb24f4dacefc60e04afe92676 Mon Sep 17 00:00:00 2001 From: Dale Harvey Date: Thu, 30 Jan 2020 11:29:14 +0100 Subject: [PATCH] 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 5331a934..67a6a0ae 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -158,6 +158,16 @@ we don't have an account and should hide them. No account == no guest account ei 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 f93eb84a..6ebfc8d2 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -15,6 +15,7 @@ +