From 69de42f644c063c04c9da287ecd8c67e9832a0f9 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Mon, 28 Feb 2022 20:28:10 -0800 Subject: [PATCH] Center error dialog in window Signed-off-by: James Ketrenos --- client/src/Table.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/client/src/Table.css b/client/src/Table.css index 301a4fb..bd119e8 100755 --- a/client/src/Table.css +++ b/client/src/Table.css @@ -68,12 +68,11 @@ display: flex; position: absolute; left: 0; - right: 0; + right: 30vw; bottom: 0; top: 0; justify-content: center; align-items: center; - background: rgba(0,0,0,0.5); z-index: 1000; max-height: 100vh; overflow: auto; @@ -478,15 +477,12 @@ button { display: flex; position: absolute; top: calc(50vh - 1.5em); - left: 0px; - right: 0px; + left: calc(0vw + 1em); + right: calc(30vw + 2em); align-items: center; justify-content: center; background-color: yellow; - text-align: left; - font-size: 12pt; padding: 1em; - margin: 1em; z-index: 10000; }