Skip to content

Commit 7a16a9d

Browse files
committed
segment control container styles fixed
1 parent 9fd5fba commit 7a16a9d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

client/packages/lowcoder/src/comps/comps/selectInputComp/segmentedControl.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,7 @@ import { fixOldInputCompData } from "../textInputComp/textInputConstants";
3131

3232
const getStyle = (style: SegmentStyleType) => {
3333
return css`
34-
background-color: ${style.background};
35-
border: ${style?.border};
36-
border-style: ${style?.borderStyle};
37-
border-width: ${style?.borderWidth};
38-
border-radius: ${style?.radius};
3934
&.ant-segmented:not(.ant-segmented-disabled) {
40-
41-
4235
&,
4336
.ant-segmented-item-selected,
4437
.ant-segmented-thumb,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ ${(props) => {
5757
display: flex;
5858
flex-direction: column;
5959
height: 100%;
60+
border: ${(props)=>{return props.$style.borderWidth}} ${(props)=>{return props.$style.borderStyle}} ${(props)=>{return props.$style.border}} !important;
6061
`;
6162

6263
const MainWrapper = styled.div<{

0 commit comments

Comments
 (0)