Skip to content

Commit ac9641d

Browse files
author
FalkWolsky
committed
Small fix at Divider Comp
1 parent b00194d commit ac9641d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

client/packages/lowcoder/src/comps/comps/dividerComp.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ const StyledDivider = styled(Divider) <IProps>`
4646
}};
4747
padding: ${(props) => props.$style.padding};
4848
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};
5050
5151
.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;
5353
border-block-start-color: inherit;
5454
border-block-end: 0;
5555
}

client/packages/lowcoder/src/comps/controls/styleControlConstants.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1150,11 +1150,11 @@ export const LinkStyle = [
11501150
] as const;
11511151

11521152
export const DividerStyle = [
1153-
{
1153+
/* {
11541154
name: "color",
11551155
label: trans("color"),
1156-
color: lightenColor(SECOND_SURFACE_COLOR, 0.05),
1157-
},
1156+
color: darkenColor(SECOND_SURFACE_COLOR, 0.1),
1157+
}, */
11581158
...STYLING_FIELDS_SEQUENCE.map((style) => {
11591159
if (style.name === 'text') {
11601160
return {

0 commit comments

Comments
 (0)