From 3daf400219fe8cc94025886ba14876bc59a45244 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Dec 2017 08:50:43 +0100 Subject: Responsive homepage --- client/src/sass/application.scss | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'client/src/sass/application.scss') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 5a4aa4cd9..f7d83c5c3 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -107,8 +107,8 @@ label { font-weight: bold; } -// On small screen, menu is absolute and displayed over the page -@media screen and (max-width: 500px) { +// On small screen, menu is absolute +@media screen and (max-width: 800px) { .title-menu-left { width: 120px; position: absolute !important; @@ -116,11 +116,18 @@ label { } .main-col { - width: 100% !important; - } + margin-left: 0; - .fake-menu { - display: none; + &, &.expanded { + .margin-content { + //display: flex; + //flex-direction: column; + //align-items: center; + //justify-content: center; + margin-left: auto; + margin-right: auto; + } + } } } -- cgit v1.2.3