From 94bbdf372b178ab856d3fcf16c63df519cb0005f Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Sun, 7 Jul 2019 22:14:46 +0200 Subject: [PATCH] pedagogy: fix css grids on chrome android --- 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 54a0b6dd..8bfe1aaf 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1772,7 +1772,7 @@ $pedagogy-white-text: #f0f0f0; .uv-quick-info-container { display: grid; grid-template-columns: 20% 20% 20% 20% auto; - grid-template-rows: 100% 100%; + grid-template-rows: auto auto; grid-template-areas: "hours-cm hours-td hours-tp hours-te hours-the" "department credit-type semester . ." ; } @@ -1817,7 +1817,7 @@ $pedagogy-white-text: #f0f0f0; @media screen and (max-width: $large-devices){ grid-template-columns: 100%; - grid-template-rows: 100% 100%; + grid-template-rows: auto auto; grid-template-areas: "stars" "comment"; } } @@ -1868,7 +1868,7 @@ $pedagogy-white-text: #f0f0f0; @media screen and (max-width: $large-devices){ grid-template-columns: 50% 50%; - grid-template-rows: 100% 100%; + grid-template-rows: auto auto; grid-template-areas: "grade grade-stars" "uv-infos uv-infos"; .pedagogy {