From: Chocobozzz Date: Mon, 13 May 2019 09:31:51 +0000 (+0200) Subject: Fix hotkeys div overflow X-Git-Tag: v1.3.0-rc.1~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=187a00f0852e82580574aa0a37eae2fcb969db23;p=oweals%2Fpeertube.git Fix hotkeys div overflow --- 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 +}