From cd163b6860e4d14e917b246b34bd914f0121d568 Mon Sep 17 00:00:00 2001 From: fillotassi Date: Wed, 7 Nov 2018 23:35:13 +0100 Subject: [PATCH] Fix footer in responsive --- themes/HOD2k18/static/css/style.css | 10 +++++----- themes/HOD2k18/static/css/style.css.map | 2 +- themes/HOD2k18/static/css/style.scss | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/HOD2k18/static/css/style.css b/themes/HOD2k18/static/css/style.css index ce10684..9a9c59e 100644 --- a/themes/HOD2k18/static/css/style.css +++ b/themes/HOD2k18/static/css/style.css @@ -116,6 +116,11 @@ body main #scrollable-column #right-column #calendario { height: 100%; max-width: 40em; } +@media screen and (max-width: 900px) { + body main #scrollable-column #right-column #calendario { + max-height: 80vh; + } +} @media screen and (min-width: 900px) { body main #scrollable-column #right-column #calendario { position: fixed; @@ -148,11 +153,6 @@ body main #scrollable-column #right-column #calendario ul { body main #scrollable-column #right-column #calendario ul #overflow-scroll { overflow-y: hidden; } -@media screen and (max-width: 900px) { - body main #scrollable-column #right-column #calendario ul #overflow-scroll { - padding-bottom: 6em; - } -} body main #scrollable-column #right-column #calendario ul li { flex-wrap: wrap; margin-bottom: 1em; diff --git a/themes/HOD2k18/static/css/style.css.map b/themes/HOD2k18/static/css/style.css.map index 7c4b17f..dcdbfb9 100644 --- a/themes/HOD2k18/static/css/style.css.map +++ b/themes/HOD2k18/static/css/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["style.scss"],"names":[],"mappings":"AASA;EACE;IAAG;;EACH;IAAI;;EACJ;IAAI;;EACJ;IAAI;;EACJ;IAAI;;EACJ;IAAK;;EACL;IAAK;;;AAGP;EACE;IAAG;;EACH;IAAI;;EACJ;IAAK;;;AAGP;EACE;EACA;EACA,kBAxBS;EAyBT,OAxBW;EAyBX;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACE,OAlCO;;AAqCT;EACE,OArCW;;AA0Cb;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AACA;EANF;IAOI;;;AAGF;EAaE;EACA;EACA;;AAdA;EADF;IAEI;IACA;;;AAEF;EACE;IACE;IACA;IACA;;;AAQJ;EACE;EACA,kBAlGG;EAmGH;EACA;EACA;;AACA;EANF;IAOI;IACA;;;AAGF;EACE;EACA;;AACA;EAHF;IAII;;;AAEF;EANF;IAOI;;;AAGF;AAOV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUY;EACA;EACA;EACA;EACA;EACA;EACA;;AAtBA;EACE;;AACA;EAFF;IAGI;;;AAqBJ;EACE;EACA;;AACA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAMF;EACE,OA5KL;EA6KK;EACA;EACA;EACA;;AAGF;EACE;;AACA;EACE;;AAMR;EACE;EACA;EACA;AAMA;AAAA;AAAA;EAGA;;AARA;EACE;EACA;EACA;;AAUR;EACE,kBA/MC;EAgND;EACA;EACA;;AAKF;EADF;IAEI;;;AAGF;EACE;EACA;EACA;EACA;;AACE;EACE;EACA;;AAEE;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGJ;EAzIF;IA0II;IACA;;;AAEF;EA7IF;IA8II;;;AAEF;EAhJF;IAiJI;;;AAIN;EACE;;AACA;EACE;EACA;EACA;;AACA;EAJF;IAKI;;;AAEF;EAPF;IAQI;;;AAEF;EAVF;IAWI;;;AAIJ;EACE;;AACA;EAFF;IAGI;;;AAEF;EALF;IAMI;;;AAEF;EARF;IASI;;;AAIJ;EACE;EACA;;AAQZ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD;EACA;EACC;;AACA;EACC;EACA;EACA;EACA","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["style.scss"],"names":[],"mappings":"AASA;EACE;IAAG;;EACH;IAAI;;EACJ;IAAI;;EACJ;IAAI;;EACJ;IAAI;;EACJ;IAAK;;EACL;IAAK;;;AAGP;EACE;IAAG;;EACH;IAAI;;EACJ;IAAK;;;AAGP;EACE;EACA;EACA,kBAxBS;EAyBT,OAxBW;EAyBX;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACE,OAlCO;;AAqCT;EACE,OArCW;;AA0Cb;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AACA;EANF;IAOI;;;AAGF;EAaE;EACA;EACA;;AAdA;EADF;IAEI;IACA;;;AAEF;EACE;IACE;IACA;IACA;;;AAQJ;EACE;EACA,kBAlGG;EAmGH;EACA;EACA;;AACA;EANF;IAOI;IACA;;;AAGF;EACE;EACA;;AACA;EAHF;IAII;;;AAEF;EANF;IAOI;;;AAEF;EATF;IAUI;;;AAGF;AAIV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUY;EACA;EACA;EACA;EACA;EACA;EACA;;AAnBA;EACE;;AAoBF;EACE;EACA;;AACA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAMF;EACE,OA5KL;EA6KK;EACA;EACA;EACA;;AAGF;EACE;;AACA;EACE;;AAMR;EACE;EACA;EACA;AAMA;AAAA;AAAA;EAGA;;AARA;EACE;EACA;EACA;;AAUR;EACE,kBA/MC;EAgND;EACA;EACA;;AAKF;EADF;IAEI;;;AAGF;EACE;EACA;EACA;EACA;;AACE;EACE;EACA;;AAEE;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGJ;EAzIF;IA0II;IACA;;;AAEF;EA7IF;IA8II;;;AAEF;EAhJF;IAiJI;;;AAIN;EACE;;AACA;EACE;EACA;EACA;;AACA;EAJF;IAKI;;;AAEF;EAPF;IAQI;;;AAEF;EAVF;IAWI;;;AAIJ;EACE;;AACA;EAFF;IAGI;;;AAEF;EALF;IAMI;;;AAEF;EARF;IASI;;;AAIJ;EACE;EACA;;AAQZ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD;EACA;EACC;;AACA;EACC;EACA;EACA;EACA","file":"style.css"} \ No newline at end of file diff --git a/themes/HOD2k18/static/css/style.scss b/themes/HOD2k18/static/css/style.scss index 81efe2c..f0d4503 100644 --- a/themes/HOD2k18/static/css/style.scss +++ b/themes/HOD2k18/static/css/style.scss @@ -112,6 +112,9 @@ body { #calendario { height: 100%; max-width: 40em; + @media screen and (max-width: $breakpoint-tablet) { + max-height:80vh; + } @media screen and (min-width: $breakpoint-tablet) { position: fixed; } @@ -122,9 +125,6 @@ body { ul { #overflow-scroll { overflow-y: hidden ; - @media screen and (max-width: $breakpoint-tablet) { - padding-bottom:6em; - } } /* h3{ position:absolute;