From 7f4a70365fec3cb275be35b9a72451e0de863e4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Wed, 15 Feb 2017 15:20:43 +0100 Subject: [PATCH] Fix overlay on responsive devices --- app/static/src/sass/modules/_overlay.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/static/src/sass/modules/_overlay.scss b/app/static/src/sass/modules/_overlay.scss index 6f8b794f..ca43e6ee 100644 --- a/app/static/src/sass/modules/_overlay.scss +++ b/app/static/src/sass/modules/_overlay.scss @@ -21,7 +21,6 @@ $module: ".overlay"; &.open { height: 100%; - display: table; opacity: 1; @include transition(opacity .5s ease-in-out, height 0s); @@ -77,20 +76,20 @@ $module: ".overlay"; &__container { - display: table; + display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; + overflow: scroll; } &__content { - display: table-cell; - vertical-align: middle; + @include padding(5 0); } -- 2.39.5