From 53f340cc96834b970dc350769ccaeb4e7f15f4b5 Mon Sep 17 00:00:00 2001 From: Matthew Harrison-Jones Date: Fri, 6 Sep 2013 15:38:42 +0100 Subject: [PATCH] Bug Fix: Modals now fit onto the screen on mobile devices --- ghost/admin/assets/sass/modules/global.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ghost/admin/assets/sass/modules/global.scss b/ghost/admin/assets/sass/modules/global.scss index 7bce135890..3655df97b7 100644 --- a/ghost/admin/assets/sass/modules/global.scss +++ b/ghost/admin/assets/sass/modules/global.scss @@ -971,6 +971,10 @@ body.blur > *:not(#modal-container) { opacity: 1; } } + + @include breakpoint($mobile) { + width: 100%; + } } .modal-info { @@ -1029,6 +1033,10 @@ body.blur > *:not(#modal-container) { .modal-style-wide { width: 550px; + + @include breakpoint($mobile) { + width: 100%; + } } .modal-style-centered {