From bada25f381531b8e8a15429c659c7dd07dbbbaf6 Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Wed, 27 May 2015 16:42:08 -0400 Subject: [PATCH] Improve mobile view of showHTML --- public/css/main.less | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/public/css/main.less b/public/css/main.less index e6b3a22af6..2a5cf1f433 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -1087,9 +1087,17 @@ hr { color: @gray-light; } -.iframe-scroll { - position: fixed !important; - margin-top: 75px; +@media only screen and (min-width: 993px) { + .iframe-scroll { + position: fixed !important; + margin-top: 75px; + } +} +@media only screen and (max-width: 992px) { + .iframe-scroll { + height: auto; + overflow: auto; + } } //uncomment this to see the dimensions of all elements outlined in red