File tree 1 file changed +6
-1
lines changed
client/packages/lowcoder/src/comps/comps
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ const StyledDivider = styled(Divider) <IProps>`
53
53
padding: ${ ( props ) => props . $style . padding } ;
54
54
border-radius:${ props => props . $style . radius } ;
55
55
border-top: ${ ( props ) => ( props . $style . borderWidth && props . $style . borderWidth != "0px" ? props . $style . borderWidth : "1px" ) } ${ ( props ) => props . $style . borderStyle } ${ ( props ) => props . $style . border } ;
56
- ""
57
56
.ant-divider-inner-text::before, .ant-divider-inner-text::after {
58
57
border-block-start: ${ ( props ) => ( props . $style . borderWidth && props . $style . borderWidth != "0px" ? props . $style . borderWidth : "1px" ) } ${ ( props ) => ( props . dashed ? "dashed" : "solid" ) } ${ ( props ) => props . $style . border } !important;
59
58
border-block-start-color: inherit;
@@ -65,6 +64,12 @@ const StyledDivider = styled(Divider) <IProps>`
65
64
border-top-color: ${ ( props ) => props . $style . color } ;
66
65
color: ${ ( props ) => props . $style . text } ;
67
66
}
67
+ &.ant-divider-horizontal.ant-divider-with-text::before,
68
+ &.ant-divider-horizontal.ant-divider-with-text::after {
69
+ border-top-color: ${ ( props ) => props . $style . color } ;
70
+ border-radius:${ props => props . $style . radius } ;
71
+ border-top: ${ ( props ) => ( props . $style . borderWidth && props . $style . borderWidth != "0px" ? props . $style . borderWidth : "1px" ) } ${ ( props ) => props . $style . borderStyle } ${ ( props ) => props . $style . border } ;
72
+ }
68
73
` ;
69
74
70
75
const childrenMap = {
You can’t perform that action at this time.
0 commit comments