layout.less 399 B

123456789101112131415161718192021222324252627
  1. .el-container {
  2. height: 100vh;
  3. .el-aside {
  4. &,
  5. * {
  6. transition: all 0.2s !important;
  7. }
  8. }
  9. //主体布局
  10. .el-main {
  11. padding: 0;
  12. display: flex;
  13. flex-direction: column;
  14. .main-box {
  15. flex: 1;
  16. box-sizing: border-box;
  17. padding: @mainPadding;
  18. background-color: @theme-white-color;
  19. padding-top: 0;
  20. overflow-y: auto;
  21. }
  22. }
  23. }