From a01f107bc436250706d4bc765f45335ee15b8e80 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 6 Nov 2017 11:46:11 +0100 Subject: Improve client mobile version --- client/src/sass/application.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'client/src/sass') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 8e2666944..47e1b6df0 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -25,7 +25,6 @@ input.readonly { } .main-col { - .content-padding { padding: 15px 30px; @@ -47,6 +46,23 @@ input.readonly { } } +// On small screen, menu is absolute and displayed over the page +@media screen and (max-width: 500px) { + .title-menu-left { + width: 120px; + position: absolute !important; + z-index: 10000; + } + + .main-col { + width: 100% !important; + } + + .fake-menu { + display: none; + } +} + // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d .glyphicon-refresh-animate { -animation: spin .7s infinite linear; -- cgit v1.2.3