update #hotkey-info height calc
This commit is contained in:
parent
39a521fb80
commit
b4670f759a
|
@ -131,7 +131,7 @@ window.addEventListener('showStyles:done', function _() {
|
||||||
const height = 4 +
|
const height = 4 +
|
||||||
container.firstElementChild.scrollHeight +
|
container.firstElementChild.scrollHeight +
|
||||||
container.lastElementChild.scrollHeight +
|
container.lastElementChild.scrollHeight +
|
||||||
parseFloat(getComputedStyle(container.firstElementChild).paddingBottom) * 4;
|
parseFloat(getComputedStyle(container.lastElementChild).paddingBottom);
|
||||||
if (height > document.body.clientHeight) {
|
if (height > document.body.clientHeight) {
|
||||||
document.body.style.height = height + 'px';
|
document.body.style.height = height + 'px';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user