| src/main.js | ●●●●● patch | view | raw | blame | history | |
| src/styles/variables.scss | ●●●●● patch | view | raw | blame | history |
src/main.js
@@ -95,6 +95,9 @@ app.config.globalProperties.$dayjs = dayjs app.config.globalProperties.website = website app.config.globalProperties.getScreen = getScreen app.config.globalProperties.pxToVh = height => height / 10.8 + 'vh' app.config.globalProperties.pxToRem = width => width * 0.1 + 'rem' app.use(error) app.use(i18n) app.use(store) src/styles/variables.scss
@@ -1,3 +1,7 @@ $sidebar_width: 230px; $sidebar_collapse: 60px; $top_height: 50px; @function pxToVh($px) { @return calc($px / 1080) * 100vh; }