From 636506e43eb55ca9b576a906c05accd3a8a5d431 Mon Sep 17 00:00:00 2001 From: Sotiri Bakagiannis Date: Thu, 15 Jul 2021 19:48:38 +0100 Subject: [PATCH] css: override ui-dialog element inline styles, use percentage height on body --- src/index.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index ced7904..930210c 100644 --- a/src/index.css +++ b/src/index.css @@ -1,7 +1,11 @@ +html { + height: 100%; +} + body { align-items: center; display: flex; - height: 100vh; + height: 100%; justify-content: center; margin: 0; } @@ -53,9 +57,11 @@ a:hover { } .ui-dialog { + left: auto !important; margin: auto; max-width: 88vw; position: relative; + top: auto !important; } /* Don't display close button in the top right corner of the box */