5
This commit is contained in:
@@ -136,8 +136,13 @@ legend {
|
||||
}
|
||||
|
||||
html, body{
|
||||
height: 100%;
|
||||
/*height: 100%;*/
|
||||
scroll-behavior: smooth;
|
||||
height: 100vh;
|
||||
height: -webkit-fill-available;
|
||||
height: fill-available;
|
||||
max-height: fill-available;
|
||||
max-height: -webkit-fill-available;
|
||||
}
|
||||
|
||||
.wrapper_content {
|
||||
|
||||
@@ -11,11 +11,11 @@ window.onload = function (){
|
||||
middleWareJS()
|
||||
openOrCloseCurtainSupportChat()
|
||||
openOverlayOrClose()
|
||||
let body = document.querySelector("body")
|
||||
const viewPortH = body.getBoundingClientRect().height;
|
||||
const windowH = window.innerHeight;
|
||||
const browserUiBarsH = viewPortH - windowH;
|
||||
body.style.height = `calc(100vh - ${browserUiBarsH}px)`;
|
||||
// let body = document.querySelector("body")
|
||||
// const viewPortH = body.getBoundingClientRect().height;
|
||||
// const windowH = window.innerHeight;
|
||||
// const browserUiBarsH = viewPortH - windowH;
|
||||
// body.style.height = `calc(100vh - ${browserUiBarsH}px)`;
|
||||
// let height = window.innerHeight
|
||||
// document.querySelector('body').style.maxHeight = height + 'px'
|
||||
// document.querySelector('body').style.height = height + 'px'
|
||||
|
||||
Reference in New Issue
Block a user