Skip to content

Commit 673919a

Browse files
committed
formating removed-110
1 parent 546affe commit 673919a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
187187
</BackgroundColorContext.Provider>
188188
</>
189189
)}
190-
<Layout style={{ padding: "0px" }}>
190+
<Layout style={{ padding: "0px" }}>
191191
{showHeader && (
192192
<>
193193
<BackgroundColorContext.Provider value={style.background}>
@@ -236,7 +236,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
236236
style={{ padding: siderStyle.containerSiderPadding }} />
237237
</ScrollBar>
238238
</Sider>
239-
</BackgroundColorContext.Provider>
239+
</BackgroundColorContext.Provider>
240240
)}
241241
<Content style={{ padding: '0px', margin: '0px', backgroundColor: bodyStyle?.background || 'transparent' }}>
242242
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.contentScrollbars}>
@@ -277,8 +277,8 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
277277
collapsedWidth={container.siderCollapsedWidth}
278278
reverseArrow={true}
279279
collapsed={siderCollapsed} onCollapse={(value) => setSiderCollapsed(value)}
280-
>
281-
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.siderScrollbars}>
280+
>
281+
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.siderScrollbars}>
282282
<SiderInnerGrid
283283
{...otherSiderProps}
284284
items={gridItemCompToGridItems(siderItems)}
@@ -304,17 +304,17 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
304304
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.contentScrollbars}>
305305
{container.showApp && container.contentApp != "" ? (
306306
<BackgroundColorContext.Provider value={bodyStyle?.background}>
307-
<AppViewContainer>
308-
<LowcoderAppView
309-
ref={appRef}
310-
appId={container.contentApp}
311-
baseUrl={container.baseUrl}
312-
/>
313-
</AppViewContainer>
314-
</BackgroundColorContext.Provider>
315-
) : (
316-
<BodyInnerGrid
317-
$showBorder={showHeader}
307+
<AppViewContainer>
308+
<LowcoderAppView
309+
ref={appRef}
310+
appId={container.contentApp}
311+
baseUrl={container.baseUrl}
312+
/>
313+
</AppViewContainer>
314+
</BackgroundColorContext.Provider>
315+
) : (
316+
<BodyInnerGrid
317+
$showBorder={showHeader}
318318
{...otherBodyProps}
319319
items={gridItemCompToGridItems(bodyItems)}
320320
autoHeight={container.autoHeight}

0 commit comments

Comments
 (0)