From 4357a722a41f2b1d0885cceb04ba7927c5d63322 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 21 Aug 2023 18:05:36 -0700 Subject: [PATCH] dialog: improve accessibility Signed-off-by: Varun Patil --- src/global.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/global.scss b/src/global.scss index 2b3aeaaa..cc298320 100644 --- a/src/global.scss +++ b/src/global.scss @@ -147,8 +147,15 @@ header#header .header-appname { } // Make OC dialogs larger to a minimum width -.oc-dialog[role='dialog'] { +div.oc-dialog[role='dialog'] { min-width: min(400px, 90vw); + + // This close button is annoying since it does + // the same thing as the cancel button but needs + // two tabs to reach the OK button when visible. + button.oc-dialog-close { + display: none; + } } // Make metadata tab scrollbar thin