|
@@ -32,6 +32,7 @@ Vue.prototype.$backEndBaseUrl = 'https://culture.4dage.com/njmuseum/'
|
|
|
Vue.prototype.$oneRemToPx = window.innerHeight * 0.025276
|
|
|
document.documentElement.style.fontSize = Vue.prototype.$oneRemToPx + 'px'
|
|
|
window.addEventListener('resize', () => {
|
|
|
+ Vue.prototype.$oneRemToPx = window.innerHeight * 0.025276
|
|
|
document.documentElement.style.fontSize = Vue.prototype.$oneRemToPx + 'px'
|
|
|
})
|
|
|
|