From b156811be66e539125f5305d2ddebe9814fc4856 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 30 Jun 2021 19:50:13 +0200 Subject: [PATCH] Use flex to center #message-box - Resolves #1270 - See details on the issue mentioned. --- js/dlg/message-box.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/dlg/message-box.css b/js/dlg/message-box.css index 1f5058f0..fb36b75f 100644 --- a/js/dlg/message-box.css +++ b/js/dlg/message-box.css @@ -3,6 +3,8 @@ left: 0; right: 0; bottom: 0; + justify-content: center; + align-items: center; display: flex; position: fixed; background-color: rgba(0, 0, 0, 0.45); @@ -17,8 +19,6 @@ } #message-box > div { - top: 3rem; - right: 3rem; min-width: 10rem; max-width: 50vw; min-height: 5rem;