From 2c5385cf5cc1431e249f30fab8e4683358991dfe Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Sun, 7 Jul 2019 21:03:27 +0200 Subject: [PATCH] pedagogy: enhance mobile view --- core/static/core/style.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/static/core/style.scss b/core/static/core/style.scss index e0102d76..f67069a7 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1795,7 +1795,7 @@ $pedagogy-white-text: #f0f0f0; grid-template-rows: 100%; grid-template-areas: "stars comment"; - @media screen and (max-width: $small-devices){ + @media screen and (max-width: $medium-devices){ grid-template-columns: 100%; grid-template-rows: 100% 100%; grid-template-areas: "stars" "comment"; @@ -1821,7 +1821,7 @@ $pedagogy-white-text: #f0f0f0; color: $pedagogy-white-text; clip-path: polygon(0 0%, 0 100%, 30% 100%, 33% 0); - @media screen and (max-width: $small-devices){ + @media screen and (max-width: $medium-devices){ clip-path: none; } } @@ -1846,7 +1846,7 @@ $pedagogy-white-text: #f0f0f0; grid-template-rows: 156px 1fr; grid-template-areas: "grade grade-stars uv-infos" ". . uv-infos"; - @media screen and (max-width: $small-devices){ + @media screen and (max-width: $medium-devices){ grid-template-columns: 150px 100px; grid-template-rows: 100% 100%; grid-template-areas: "grade grade-stars" "uv-infos uv-infos";