Skip to content

Commit 89d70ff

Browse files
committed
formating removed-111
1 parent 673919a commit 89d70ff

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
154154
},
155155
}}
156156
>
157-
<Wrapper $style={style} $animationStyle={animationStyle}>
157+
<Wrapper $style={style} $animationStyle={animationStyle}>
158158
<Layout style={{padding: "0px"}} hasSider={showSider && !container.innerSider}>
159159
{showSider && !container.innerSider && !container.siderRight && (
160160
<><BackgroundColorContext.Provider value={siderStyle?.siderBackground}>
@@ -165,7 +165,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
165165
breakpoint="sm"
166166
collapsedWidth={container.siderCollapsedWidth}
167167
collapsed={siderCollapsed} onCollapse={(value) => onSiderCollapse(value)}
168-
>
168+
>
169169
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.siderScrollbars}>
170170
<SiderInnerGrid
171171
{...otherSiderProps}
@@ -277,7 +277,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
277277
collapsedWidth={container.siderCollapsedWidth}
278278
reverseArrow={true}
279279
collapsed={siderCollapsed} onCollapse={(value) => setSiderCollapsed(value)}
280-
>
280+
>
281281
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.siderScrollbars}>
282282
<SiderInnerGrid
283283
{...otherSiderProps}
@@ -326,30 +326,30 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
326326
$borderColor={style?.border}
327327
$borderWidth={style?.borderWidth}
328328
style={{ padding: bodyStyle.containerBodyPadding }} />
329-
)}
330-
</ScrollBar>
331-
</Content>
332-
)}
329+
)}
330+
</ScrollBar>
331+
</Content>
332+
)}
333333
{showFooter && (
334334
<Footer style={{ textAlign: 'center', padding: '0px', margin: '0px', backgroundColor: footerStyle?.footerBackground || 'transparent' }}>
335335
<FooterInnerGrid
336-
$showBorder={showHeader}
337-
{...otherFooterProps}
336+
$showBorder={showHeader}
337+
{...otherFooterProps}
338338
items={gridItemCompToGridItems(footerItems)}
339339
autoHeight={true}
340340
emptyRows={5}
341341
minHeight={"48px"}
342-
containerPadding={[0, 0]}
343-
showName={{ top: showHeader ? 20 : 0 }}
342+
containerPadding={[0, 0]}
343+
showName={{ top: showHeader ? 20 : 0 }}
344344
$backgroundColor={footerStyle?.footerBackground || 'transparent'}
345345
$footerBackgroundImage={footerStyle?.footerBackgroundImage}
346346
$footerBackgroundImageRepeat={footerStyle?.footerBackgroundImageRepeat}
347347
$footerBackgroundImageSize={footerStyle?.footerBackgroundImageSize}
348348
$footerBackgroundImagePosition={footerStyle?.footerBackgroundImagePosition}
349349
$footerBackgroundImageOrigin={footerStyle?.footerBackgroundImageOrigin}
350-
$borderColor={style?.border}
351-
$borderWidth={style?.borderWidth}
352-
style={{ padding: footerStyle.containerFooterPadding }} />
350+
$borderColor={style?.border}
351+
$borderWidth={style?.borderWidth}
352+
style={{ padding: footerStyle.containerFooterPadding }} />
353353
</Footer>
354354
)}
355355
</Layout>
@@ -364,7 +364,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
364364
collapsedWidth={container.siderCollapsedWidth}
365365
reverseArrow={true}
366366
collapsed={siderCollapsed} onCollapse={(value) => setSiderCollapsed(value)}
367-
>
367+
>
368368
<ScrollBar style={{ height: container.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!container.siderScrollbars}>
369369
<SiderInnerGrid
370370
{...otherSiderProps}
@@ -391,7 +391,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
391391
{`
392392
.ant-layout-sider-trigger {
393393
bottom: 4px !important;
394-
${container.siderRight ? `
394+
${container.siderRight ? `
395395
right: 8px !important;
396396
` : `
397397
left: 8px !important;}

0 commit comments

Comments
 (0)