Skip to content

Commit 394de1d

Browse files
committed
border improved
1 parent f636ffb commit 394de1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const Label = styled.span<{ $border: boolean, $labelStyle: LabelStyleType, $vali
9898
text-decoration:${(props) => props.$labelStyle.textDecoration};
9999
font-size:${(props) => props.$labelStyle.textSize};
100100
color:${(props) => !!props.$validateStatus && props?.$validateStatus === 'error' ? props.$labelStyle.validate : props.$labelStyle.label} !important;
101-
${(props) => `border-bottom:${props.$labelStyle.borderWidth} ${props.$labelStyle.borderStyle} ${!!props.$validateStatus && props?.$validateStatus === 'error' ? props.$labelStyle.validate : props.$labelStyle.border};`}
101+
${(props) => `border:${props.$labelStyle.borderWidth} ${props.$labelStyle.borderStyle} ${!!props.$validateStatus && props?.$validateStatus === 'error' ? props.$labelStyle.validate : props.$labelStyle.border};`}
102102
border-radius:${(props) => props.$labelStyle.radius};
103103
padding:${(props) => props.$labelStyle.padding};
104104
margin:${(props) => props.$labelStyle.margin};

0 commit comments

Comments
 (0)