Update split.js
Browse files
split.js
CHANGED
@@ -29,7 +29,7 @@ function fixDragBtn() {
|
|
29 |
|
30 |
|
31 |
|
32 |
-
var h = window.visualViewport.height - (rect.top - doc.top) - 16 -
|
33 |
hello.style.height = `${h}px`;
|
34 |
|
35 |
console.log(window.visualViewport.height);
|
|
|
29 |
|
30 |
|
31 |
|
32 |
+
var h = window.visualViewport.height - (rect.top - doc.top) - 16 - 16 - 21 + 16;
|
33 |
hello.style.height = `${h}px`;
|
34 |
|
35 |
console.log(window.visualViewport.height);
|