From 6d5488abd65350143d497d3ad6e1ed919823cddf Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 12 Apr 2023 22:23:40 +0000 Subject: [PATCH] improve styling for dialogs Signed-off-by: Arthur Lu --- css/style.css | 8 ++++++++ scripts/dialog.js | 11 ++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index 7b9a0fa..7f37f10 100644 --- a/css/style.css +++ b/css/style.css @@ -22,4 +22,12 @@ img { column-gap: 10px; align-items: center; height: 100%; +} + +.hidden { + visibility: hidden; +} + +.none { + display: none; } \ No newline at end of file diff --git a/scripts/dialog.js b/scripts/dialog.js index c953259..4876211 100644 --- a/scripts/dialog.js +++ b/scripts/dialog.js @@ -7,13 +7,10 @@ export class Dialog extends HTMLElement { - -

-
-
-
-
-
+ +

+
+