From 535d73299b3e8dc4f002ebbf2cfe4e6489a7fa1c Mon Sep 17 00:00:00 2001 From: Richard Denton Date: Wed, 5 Jun 2019 17:51:45 +0800 Subject: [PATCH] Ensure modal content is centered on mobile Signed-off-by: Richard Denton --- src/scss/_custom.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/_custom.scss b/src/scss/_custom.scss index 0c90f45..52f9744 100644 --- a/src/scss/_custom.scss +++ b/src/scss/_custom.scss @@ -219,3 +219,9 @@ body { display: none; } } + +@media (max-width: 576px) { + .modal-dialog { + margin: 0.5rem auto; + } +}