动态菜单和动态路由的 antd pro

index.less 489B

1234567891011121314151617181920212223242526272829303132
  1. html,
  2. body,
  3. :global(#root) {
  4. height: 100%;
  5. }
  6. :global(.ant-layout) {
  7. min-height: 100%;
  8. }
  9. canvas {
  10. display: block;
  11. }
  12. body {
  13. text-rendering: optimizeLegibility;
  14. -webkit-font-smoothing: antialiased;
  15. -moz-osx-font-smoothing: grayscale;
  16. }
  17. .globalSpin {
  18. width: 100%;
  19. margin: 40px 0 !important;
  20. }
  21. // temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
  22. :global {
  23. .ant-spin-container {
  24. overflow: visible !important;
  25. }
  26. }