From 346ccfd7f52fb5411a298a600e1c6a2f50295f63 Mon Sep 17 00:00:00 2001 From: chapoi <101828855+chapoi@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:16:45 +0200 Subject: [PATCH] UX: firefox fix for shorthand modal width (#22638) --- .../stylesheets/common/components/keyboard_shortcuts.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss b/app/assets/stylesheets/common/components/keyboard_shortcuts.scss index b82fbdef6ec..42f03026d5e 100644 --- a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss +++ b/app/assets/stylesheets/common/components/keyboard_shortcuts.scss @@ -29,6 +29,7 @@ .keyboard-shortcuts-modal { .modal-inner-container { + width: 100%; --modal-max-width: 80vw; } } @@ -41,7 +42,7 @@ box-sizing: border-box; overflow-x: hidden; overflow-y: auto; - max-height: 85vh !important; // overrides a default modal !important for extra space + max-height: 80vh !important; // overrides a default modal !important for extra space .keyboard-shortcuts-help__container { columns: auto 20em;