diff --git a/components/divider/style/index.less b/components/divider/style/index.less index 885d8b721f..ea7d9c4493 100644 --- a/components/divider/style/index.less +++ b/components/divider/style/index.less @@ -111,9 +111,11 @@ &::before { width: 0; } + &::after { width: 100%; } + .ant-divider-inner-text { padding-left: 0; } @@ -123,9 +125,11 @@ &::before { width: 100%; } + &::after { width: 0; } + .ant-divider-inner-text { padding-right: 0; }