dialog: improve accessibility

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/783/head
Varun Patil 2023-08-21 18:05:36 -07:00
parent 38981ea0a3
commit 4357a722a4
1 changed files with 8 additions and 1 deletions

View File

@ -147,8 +147,15 @@ header#header .header-appname {
} }
// Make OC dialogs larger to a minimum width // Make OC dialogs larger to a minimum width
.oc-dialog[role='dialog'] { div.oc-dialog[role='dialog'] {
min-width: min(400px, 90vw); 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 // Make metadata tab scrollbar thin