From e6e500e2f96dee9a7b2da76f5ba10f0a6d068001 Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Mon, 8 Jul 2019 09:37:30 +0200 Subject: [PATCH] pedagogy: fix margins on stars for mobile devices --- core/static/core/style.scss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/core/static/core/style.scss b/core/static/core/style.scss index 5d7d0dd6..8b8d2f85 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1685,9 +1685,24 @@ $pedagogy-white-text: #f0f0f0; .pedagogy { &.star-not-checked { color : #f7f7f7; + margin-bottom: 0px; + margin-top: 0px; } &.star-checked { color: $pedagogy-orange; + margin-bottom: 0px; + margin-top: 0px; + } + + @media screen and (max-width: $large-devices){ + &.star-not-checked { + margin-left: 5px; + margin-right: 5px; + } + &.star-checked { + margin-left: 5px; + margin-right: 5px; + } } } @@ -2044,8 +2059,8 @@ $pedagogy-white-text: #f0f0f0; } @media screen and (max-width: $large-devices){ - // text-align: center; - justify-self: center; + text-align: center; + justify-self: inherit; padding-right: 0px; } }