From 394175536734cc83b4f1a07320de567099977465 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 14 Apr 2015 09:11:12 -0500 Subject: [PATCH] Update hotkeys.css for scroll bar Changed up the CSS a bit to allow the shortcuts help pop-up to be scroll-able when there are more shortcut keys than fit before the fold of the page. --- src/hotkeys.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/hotkeys.css b/src/hotkeys.css index 24e504c..a860feb 100644 --- a/src/hotkeys.css +++ b/src/hotkeys.css @@ -1,6 +1,7 @@ .cfp-hotkeys-container { - display: table !important; + display: block !important; position: fixed; + overflow: auto; width: 100%; height: 100%; top: 0; @@ -33,10 +34,11 @@ } .cfp-hotkeys { - width: 100%; - height: 100%; - display: table-cell; + width: 90%; vertical-align: middle; + margin-left: auto; + margin-right: auto; + } .cfp-hotkeys table {