File tree 2 files changed +5
-5
lines changed
client/packages/lowcoder/src/comps
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ const StyledDivider = styled(Divider) <IProps>`
46
46
} } ;
47
47
padding: ${ ( props ) => props . $style . padding } ;
48
48
49
- border-top: ${ ( props ) => ( props . $style . borderWidth ? props . $style . borderWidth : "1px" ) } ${ ( props ) => ( props . dashed ? "dashed" : "solid" ) } ${ ( props ) => props . $style . color } ;
49
+ border-top: ${ ( props ) => ( props . $style . borderWidth ? props . $style . borderWidth : "1px" ) } ${ ( props ) => ( props . dashed ? "dashed" : "solid" ) } ${ ( props ) => props . $style . border } ;
50
50
51
51
.ant-divider-inner-text::before, .ant-divider-inner-text::after {
52
- border-block-start: ${ ( props ) => ( props . $style . borderWidth ? props . $style . borderWidth : "1px" ) } ${ ( props ) => ( props . dashed ? "dashed" : "solid" ) } ${ ( props ) => props . $style . color } !important;
52
+ border-block-start: ${ ( props ) => ( props . $style . borderWidth ? props . $style . borderWidth : "1px" ) } ${ ( props ) => ( props . dashed ? "dashed" : "solid" ) } ${ ( props ) => props . $style . border } !important;
53
53
border-block-start-color: inherit;
54
54
border-block-end: 0;
55
55
}
Original file line number Diff line number Diff line change @@ -1150,11 +1150,11 @@ export const LinkStyle = [
1150
1150
] as const ;
1151
1151
1152
1152
export const DividerStyle = [
1153
- {
1153
+ /* {
1154
1154
name: "color",
1155
1155
label: trans("color"),
1156
- color : lightenColor ( SECOND_SURFACE_COLOR , 0.05 ) ,
1157
- } ,
1156
+ color: darkenColor (SECOND_SURFACE_COLOR, 0.1 ),
1157
+ }, */
1158
1158
...STYLING_FIELDS_SEQUENCE . map ( ( style ) => {
1159
1159
if ( style . name === 'text' ) {
1160
1160
return {
You can’t perform that action at this time.
0 commit comments