Ant Design Steps 连接器的自定义样式?

Custom styling for Ant Design Steps connector?

我正在寻找一种方法来自定义 Ant Designs Steps 组件中连接线的 color/width:

我尝试通过检查器查看,但连接器没有出现,因为它是自己的元素,这意味着我无法通过 className 设置它的样式。

在此先感谢您的帮助。

您可以覆盖 .ant-steps-item-title class 来实现此目的。例如:

.ant-steps-item-title:after {
  background-color: red !important;
}

DEMO