drawer.less 869 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .tabs-drawer {
  2. /deep/ .el-drawer__header {
  3. margin-bottom: 0;
  4. padding: 10px;
  5. }
  6. /deep/ .el-drawer__body {
  7. margin-top: -45px;
  8. // margin-bottom: 45px;
  9. padding: 5px;
  10. height: 100%;
  11. overflow: hidden; // 解决火狐下布局问题
  12. }
  13. /deep/ .el-drawer__close-btn {
  14. z-index: 9999;
  15. }
  16. .el-tabs {
  17. width: 100%;
  18. height: 100%;
  19. }
  20. }
  21. .el-dialog.no-header, .el-dialog__wrapper.no-header {
  22. /deep/ .el-dialog {
  23. margin-top: 10vh !important;
  24. }
  25. /deep/ .el-dialog__header {
  26. padding: 0;
  27. }
  28. /deep/ .el-dialog__title {
  29. display: none;
  30. }
  31. /deep/ .el-dialog__body {
  32. min-height: 200px;
  33. // max-height: 600px;
  34. overflow: hidden;
  35. display: flex;
  36. > * {
  37. flex: 1;
  38. }
  39. }
  40. .el-tabs {
  41. margin-top: -20px;
  42. }
  43. /deep/ .el-dialog__headerbtn {
  44. top: 10px;
  45. right: 10px;
  46. z-index: 100;
  47. }
  48. }