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