TableBodyWrapper.less 739 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. :global {
  2. .table-motion {
  3. .ant-table-tbody > tr > td,
  4. .ant-table-thead > tr > th {
  5. height: 60px;
  6. }
  7. .ant-table-thead {
  8. & > tr {
  9. transition: none;
  10. display: block;
  11. & > th {
  12. display: inline-flex;
  13. align-items: center;
  14. justify-content: center;
  15. }
  16. }
  17. }
  18. .ant-table-tbody {
  19. & > tr {
  20. transition: none;
  21. display: block;
  22. border-bottom: 1px solid #f5f5f5;
  23. & > td {
  24. border-bottom: none;
  25. display: inline-flex;
  26. align-items: center;
  27. justify-content: center;
  28. }
  29. &.ant-table-expanded-row-level-1 > td {
  30. height: auto;
  31. }
  32. }
  33. }
  34. }
  35. }