ccd60f76c3
- Move top-level functinos to utils files - Get rid of unused/obsolete overrides - Only import components there where they're used - Bump version in package.json
6 lines
161 B
JavaScript
6 lines
161 B
JavaScript
|
|
export function calculateViewportHeightUnit () {
|
|
const vh = window.innerHeight * 0.01;
|
|
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
}
|