<template>
  <div id="app" :style="theme">
    <router-view/>
  </div>
</template>

<script>
import { uaRedirect } from '@/utils/uaredirect'
import CssVar from '@/assets/styles/variables.scss'

export default {
  name: 'App',
  data() {
    return {
      theme: {
        '--themeColor': CssVar['theme'],
      }
    }
  },
  mounted() {
    setTimeout(uaRedirect, 50)
  }
}
</script>
<style>
.el-popup-parent--hidden {
  overflow: initial !important;
  padding-right: 0 !important;
}

p {
  margin: 0;
}
</style>

