Fix hotkeys div overflow

This commit is contained in:
Chocobozzz 2019-05-13 11:31:51 +02:00
parent 1acd784cf9
commit 187a00f085
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,6 @@
.cfp-hotkeys-container { .cfp-hotkeys-container {
display: table !important; display: flex !important;
align-items: center;
position: fixed; position: fixed;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
@ -35,9 +36,7 @@
.cfp-hotkeys { .cfp-hotkeys {
width: 100%; width: 100%;
height: 100%; max-height: 100%;
display: table-cell;
vertical-align: middle;
} }
.cfp-hotkeys table { .cfp-hotkeys table {
@ -102,4 +101,4 @@
.cfp-hotkeys { .cfp-hotkeys {
font-size: 1.2em; font-size: 1.2em;
} }
} }