summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-09-06 12:44:49 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2019-09-06 12:55:52 -0500
commitd76b0b12840e5d3c015bfb36afae695bd93b1107 (patch)
tree564bfc37847ea774f7e31fcca8c7d96ee31cc43a
parent21959efff48ac76dcb8047676fa614f592d7835b (diff)
downloadgitlab-ce-keyboard-shortcuts-2.tar.gz
Improve shortcuts modal widthkeyboard-shortcuts-2
-rw-r--r--app/assets/stylesheets/framework/modal.scss4
-rw-r--r--app/views/help/_shortcuts.html.haml2
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/modal.scss b/app/assets/stylesheets/framework/modal.scss
index 08375df495e..9c924559135 100644
--- a/app/assets/stylesheets/framework/modal.scss
+++ b/app/assets/stylesheets/framework/modal.scss
@@ -3,7 +3,9 @@
}
.modal-1040 {
- max-width: 1040px;
+ @include media-breakpoint-up(xl) {
+ max-width: 1040px;
+ }
}
.modal-header {
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 85d06c87362..f1ba804f920 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -1,5 +1,5 @@
#modal-shortcuts.modal{ tabindex: -1 }
- .modal-dialog.modal-1040
+ .modal-dialog.modal-lg.modal-1040
.modal-content
.modal-header
%h4.modal-title