From c1397ea236edad935517a436f5b08654a3dd9384 Mon Sep 17 00:00:00 2001 From: Nienke Date: Thu, 23 Jun 2016 10:20:18 +0200 Subject: [PATCH] Fix disappearing scrollbars in Safari on Mac --- public/css/main.css | 4 ++-- public/css/main.css.map | 2 +- public/css/main.scss | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index b7482f4..8d1813b 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -74,7 +74,7 @@ body { -webkit-flex-direction: column; } @media (max-width: 1200px) { .intro-page { - height: 100%; } } + min-height: 80vh; } } .intro-page-logo { font-family: 'Montserrat', serif; @@ -110,7 +110,7 @@ body { .info-page { flex-direction: column; -webkit-flex-direction: column; - height: 100%; } } + min-height: 80vh; } } .info-page h1 { font-family: 'Rubik'; diff --git a/public/css/main.css.map b/public/css/main.css.map index fe72d11..7a34b05 100644 --- a/public/css/main.css.map +++ b/public/css/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AACQ,0BAAe;AACf,yBAAc;AAGd,uBAAY;AACZ,uFAA+E;ACNvF,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,eAAe;EACvB,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,OAAO;;AAEhB,oBAAoB;EAClB,gBAAgB,EAAE,OAAO;EACzB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI;;ACxBf,KAAK;EACH,OAAO,EAAE,IAAI;EACb,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,iBAAiB;EACzB,aAA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c,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM;EAC9B,OAAO,EAAE,IAAI;;AAGf,gBAAiB;EACf,WAAW,EAAE,mBAAmB;EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;EAhJd,WAAW,EAFC,uOAAmD;;AAqJjE,gBAAiB;EACf,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,UAAU;EACtB,aAAa,EAAE,GAAG;EAClB,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,iBAAiB;EAChC,YAAY,EAAE,iBAAiB;EAC/B,WAAW,EAAE,CAAC;;AAIhB,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM", "sources": ["main.scss","navigation.sass","forms.sass"], "names": [], "file": "main.css" diff --git a/public/css/main.scss b/public/css/main.scss index bf2d148..8ae7125 100644 --- a/public/css/main.scss +++ b/public/css/main.scss @@ -56,7 +56,7 @@ $break-small: 1200px; flex-direction: column; -webkit-flex-direction: column; @include break-small { - height: 100%; // remove the 100 VH on mobile devices to prevent unneccessary scrolling + min-height: 80vh; } } @@ -98,7 +98,7 @@ $break-small: 1200px; @include break-small { flex-direction: column; -webkit-flex-direction: column; - height: 100%; + min-height: 80vh; } }