<template>
  <div class="app-main">
    <div class="inner">
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AppMain'
}
</script>

<style lang="scss">
.app-main {
  // box-shadow: 0 0 10px #ddd;border-radius: 10px;
  position: absolute;
  top: 84px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-x: hidden !important;
  background-color: #f8f9fd;

  .el-scrollbar {
    height: 100%;
  }

  .scrollBar {
    overflow-x: hidden !important;

    .el-scrollbar__view {
      height: calc(100% - 40px);
      padding: 20px;
    }
  }

  .inner {
    padding: 20px;
    box-sizing: border-box;
    min-height: 100%;
  }
}

</style>
