From 04680d87d3cb7cb7da831937fbfc81a6ef07d56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bisson?= Date: Wed, 6 Feb 2019 12:20:08 +0100 Subject: [PATCH] corrections for mobile phones --- static/rouen/_custom.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/rouen/_custom.scss b/static/rouen/_custom.scss index 0a31e3a..f443a73 100644 --- a/static/rouen/_custom.scss +++ b/static/rouen/_custom.scss @@ -461,8 +461,8 @@ body.page-index #sidebar { background-position: 1rem 1rem; h2 { - margin-left: 4em; - line-height: 3.5em; + margin: 1em 0 1.5em 4em; + width: auto; } } @@ -524,6 +524,7 @@ body.page-index #sidebar { .suivi, .en-cours, .creer-compte, .brouillons, .coffre-fort, .historique { padding: 1rem; background-color: #d8f0ea; + @media screen and (max-width: $mobile-limit) { margin-bottom: 1em; } } .summary-count {