From d016563c5b85dee73d8816c220af6440af65f78f Mon Sep 17 00:00:00 2001 From: Puzzles Flat Date: Mon, 15 Dec 2014 21:10:42 +1300 Subject: [PATCH] Fix the positioning of modal dialogs on mobile (< 768px wide) viewports --- css/modals.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 css/modals.css diff --git a/css/modals.css b/css/modals.css old mode 100644 new mode 100755 index 5c75112..05f21d5 --- a/css/modals.css +++ b/css/modals.css @@ -1,6 +1,8 @@ -.modal-large { - width: 80%; /* respsonsive width */ +@media (min-width: 768px) { + .modal-large { + width: 80%; /* responsive width */ margin-left:-40%; /* width/2) */ + } } .modal-header {