aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-13 11:31:51 +0200
committerChocobozzz <me@florianbigard.com>2019-05-13 11:33:18 +0200
commit187a00f0852e82580574aa0a37eae2fcb969db23 (patch)
tree3b59b760bdcb0df06fe857f79dbb5ef5bef8f0ee
parent1acd784cf984bb91d39c37a248805a7f96ea6643 (diff)
downloadPeerTube-187a00f0852e82580574aa0a37eae2fcb969db23.tar.gz
PeerTube-187a00f0852e82580574aa0a37eae2fcb969db23.tar.zst
PeerTube-187a00f0852e82580574aa0a37eae2fcb969db23.zip
Fix hotkeys div overflow
-rw-r--r--client/src/app/core/hotkeys/hotkeys.component.scss9
1 files 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 @@
1.cfp-hotkeys-container { 1.cfp-hotkeys-container {
2 display: table !important; 2 display: flex !important;
3 align-items: center;
3 position: fixed; 4 position: fixed;
4 overflow: auto; 5 overflow: auto;
5 width: 100%; 6 width: 100%;
@@ -35,9 +36,7 @@
35 36
36.cfp-hotkeys { 37.cfp-hotkeys {
37 width: 100%; 38 width: 100%;
38 height: 100%; 39 max-height: 100%;
39 display: table-cell;
40 vertical-align: middle;
41} 40}
42 41
43.cfp-hotkeys table { 42.cfp-hotkeys table {
@@ -102,4 +101,4 @@
102 .cfp-hotkeys { 101 .cfp-hotkeys {
103 font-size: 1.2em; 102 font-size: 1.2em;
104 } 103 }
105} \ No newline at end of file 104}