commit
83caeaf669
@ -56,7 +56,7 @@ watch(
|
|||||||
function resetVhAndPx() {
|
function resetVhAndPx() {
|
||||||
let vh = window.innerHeight * 0.01
|
let vh = window.innerHeight * 0.01
|
||||||
document.documentElement.style.setProperty('--vh', `${vh}px`)
|
document.documentElement.style.setProperty('--vh', `${vh}px`)
|
||||||
document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 + 'px'
|
//document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 + 'px'
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user