Improve responsiveness of keyboard shortcuts modal
Problem to solve
As discussed here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31642#note_213326417
The keyboard shortcuts modal struggles with sizes smaller than average. You can access it from anywhere in GitLab by simply pressing ?
on the keyboard, then resize the screen down until the modal itself resizes to the point that things start to lose alignment.
This issue is due to the varying widths of the keyboard shortcuts (using %kdb
in app/views/help/_shortcuts.html.haml
).
Screenshot
May appear slightly different, depending on whether or not https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31642 is merged, but either way it renders poorly.
Edited by Marcel Amirault