vendor/assets/stylesheets/modal.css.scss in flashgrid-4.0.3 vs vendor/assets/stylesheets/modal.css.scss in flashgrid-4.0.4

- old
+ new

@@ -28,15 +28,14 @@ background-clip: padding-box; background: rgba(255,255,255,1); border-radius: 5px; box-shadow: 0 0 3px rgba(0,0,0,0.25); display: none; - left: auto; - margin: 0 auto; + left: 50%; + margin-left: -280px; outline: 0; position: fixed; - right: auto; top: 0; width: 560px; z-index: 1050; } .modal.fade { @@ -116,11 +115,17 @@ .modal-footer-dual > input[type="submit"].modal-footer-btn:last-child { border-right: none; } /* #Media Queries ================================================== */ @media only screen and (max-width: 767px) { - .modal { width: 300px; } + .modal { + margin-left: -150px; + width: 300px; + } .modal-body { max-height: 180px; } } @media only screen and (min-width: 480px) and (max-width: 767px) { - .modal { width: 420px; } + .modal { + margin-left: -210px; + width: 420px; + } } \ No newline at end of file