patch.less 745 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @import '../../style/themes/index';
  2. nz-link {
  3. display: block;
  4. }
  5. .@{ant-prefix}-anchor {
  6. &-wrapper {
  7. // This is a feature of Antd 5, so we need add in the patch file.
  8. &-horizontal {
  9. margin-left: unset;
  10. padding-left: unset;
  11. margin-bottom: -4px;
  12. padding-bottom: 4px;
  13. .ant-anchor {
  14. display: flex;
  15. &-ink {
  16. top: unset;
  17. bottom: 0;
  18. width: 100%;
  19. height: unset;
  20. &:before {
  21. width: 100%;
  22. height: 2px;
  23. }
  24. &-ball {
  25. transform: translate(-50%, -50%);
  26. }
  27. }
  28. &-link {
  29. &:first-of-type {
  30. padding-inline: 0;
  31. }
  32. }
  33. }
  34. }
  35. }
  36. }