Initial commit: StreamFlow IPTV platform
This commit is contained in:
commit
73a8ae9ffd
1240 changed files with 278451 additions and 0 deletions
8
frontend/public/viewport-fix.js
Normal file
8
frontend/public/viewport-fix.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Fix for mobile viewport height with address bar
|
||||
function setVh() {
|
||||
const vh = window.innerHeight * 0.01;
|
||||
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
||||
}
|
||||
setVh();
|
||||
window.addEventListener('resize', setVh);
|
||||
window.addEventListener('orientationchange', setVh);
|
||||
Loading…
Add table
Add a link
Reference in a new issue