From e12732e67bf879ba0d63bb9faa047ddabaa237d3 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 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 fc880633e86..3ebe5bf8bd3 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -15,6 +15,7 @@ +