From 187a00f0852e82580574aa0a37eae2fcb969db23 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 May 2019 11:31:51 +0200 Subject: [PATCH] Fix hotkeys div overflow --- client/src/app/core/hotkeys/hotkeys.component.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/client/src/app/core/hotkeys/hotkeys.component.scss b/client/src/app/core/hotkeys/hotkeys.component.scss index 9af10b7c4..3aa0b6252 100644 --- a/client/src/app/core/hotkeys/hotkeys.component.scss +++ b/client/src/app/core/hotkeys/hotkeys.component.scss @@ -1,5 +1,6 @@ .cfp-hotkeys-container { - display: table !important; + display: flex !important; + align-items: center; position: fixed; overflow: auto; width: 100%; @@ -35,9 +36,7 @@ .cfp-hotkeys { width: 100%; - height: 100%; - display: table-cell; - vertical-align: middle; + max-height: 100%; } .cfp-hotkeys table { @@ -102,4 +101,4 @@ .cfp-hotkeys { font-size: 1.2em; } -} \ No newline at end of file +} -- 2.25.1