global.less 660 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @import '~antd/lib/style/themes/default.less';
  2. html,
  3. body,
  4. #root {
  5. height: 100%;
  6. }
  7. .colorWeak {
  8. filter: invert(80%);
  9. }
  10. .ant-layout {
  11. min-height: 100vh;
  12. }
  13. canvas {
  14. display: block;
  15. }
  16. body {
  17. text-rendering: optimizeLegibility;
  18. -webkit-font-smoothing: antialiased;
  19. -moz-osx-font-smoothing: grayscale;
  20. }
  21. .globalSpin {
  22. width: 100%;
  23. margin: 40px 0 !important;
  24. }
  25. ul,
  26. ol {
  27. list-style: none;
  28. }
  29. @media (max-width: @screen-xs) {
  30. .ant-table {
  31. width: 100%;
  32. overflow-x: auto;
  33. &-thead > tr,
  34. &-tbody > tr {
  35. > th,
  36. > td {
  37. white-space: pre;
  38. > span {
  39. display: block;
  40. }
  41. }
  42. }
  43. }
  44. }