Skip to content

Commit e104575

Browse files
committed
border width added by default
1 parent 4230faf commit e104575

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const childrenMap = {
5151
autoHeight: AutoHeightControl,
5252
siderScrollbars: withDefault(BoolControl, false),
5353
contentScrollbars: withDefault(BoolControl, false),
54-
style: styleControl(ContainerStyle),
54+
style: withDefault(styleControl(ContainerStyle),{borderWidth:'1px'}),
5555
headerStyle: styleControl(ContainerHeaderStyle),
5656
siderStyle: styleControl(ContainerSiderStyle),
5757
bodyStyle: styleControl(ContainerBodyStyle),

client/packages/lowcoder/src/comps/comps/tabs/tabbedContainerComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const childrenMap = {
5757
onEvent: eventHandlerControl(EVENT_OPTIONS),
5858
disabled: BoolCodeControl,
5959
showHeader: withDefault(BoolControl, true),
60-
style: styleControl(TabContainerStyle),
60+
style: withDefault(styleControl(TabContainerStyle),{borderWidth:'1px'}),
6161
headerStyle: styleControl(ContainerHeaderStyle),
6262
bodyStyle: styleControl(ContainerBodyStyle),
6363
tabsGutter: withDefault(NumberControl, 32),
@@ -72,6 +72,7 @@ const getStyle = (
7272
headerStyle: ContainerHeaderStyleType,
7373
bodyStyle: ContainerBodyStyleType,
7474
) => {
75+
console.log("🚀 ~ style:", style)
7576
return css`
7677
&.ant-tabs {
7778
overflow: hidden;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const childrenMap = {
4040
showFooter: BoolControl,
4141
autoHeight: AutoHeightControl,
4242
scrollbars: withDefault(BoolControl, false),
43-
style: styleControl(ContainerStyle),
43+
style: withDefault(styleControl(ContainerStyle),{borderWidth:'1px'}),
4444
headerStyle: styleControl(ContainerHeaderStyle),
4545
bodyStyle: styleControl(ContainerBodyStyle),
4646
footerStyle: styleControl(ContainerFooterStyle),

0 commit comments

Comments
 (0)