From 32f062577014cbcc20c5e365848bf24a06e2d599 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";