From 8cc6b49fbe9c083e903b361628f9e79ecb058faa Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 7 May 2023 04:35:44 +0000 Subject: [PATCH] fix dialog styling --- css/style.css | 2 +- scripts/dialog.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index b124ce6..2411c69 100644 --- a/css/style.css +++ b/css/style.css @@ -18,7 +18,7 @@ body { grid-template-rows: auto 1fr; } -main { +main, dialog { max-width: 100vw; background-color: #303030; color: white; diff --git a/scripts/dialog.js b/scripts/dialog.js index 0600ea6..73d4bd9 100644 --- a/scripts/dialog.js +++ b/scripts/dialog.js @@ -4,8 +4,8 @@ export function dialog (header, body, callback = async (result, form) => {}) {

- - + +
`; dialog.className = "w3-container w3-card w3-border-0";