@@ -154,7 +154,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
154
154
} ,
155
155
} }
156
156
>
157
- < Wrapper $style = { style } $animationStyle = { animationStyle } >
157
+ < Wrapper $style = { style } $animationStyle = { animationStyle } >
158
158
< Layout style = { { padding : "0px" } } hasSider = { showSider && ! container . innerSider } >
159
159
{ showSider && ! container . innerSider && ! container . siderRight && (
160
160
< > < BackgroundColorContext . Provider value = { siderStyle ?. siderBackground } >
@@ -165,7 +165,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
165
165
breakpoint = "sm"
166
166
collapsedWidth = { container . siderCollapsedWidth }
167
167
collapsed = { siderCollapsed } onCollapse = { ( value ) => onSiderCollapse ( value ) }
168
- >
168
+ >
169
169
< ScrollBar style = { { height : container . autoHeight ? "auto" : "100%" , margin : "0px" , padding : "0px" } } hideScrollbar = { ! container . siderScrollbars } >
170
170
< SiderInnerGrid
171
171
{ ...otherSiderProps }
@@ -277,7 +277,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
277
277
collapsedWidth = { container . siderCollapsedWidth }
278
278
reverseArrow = { true }
279
279
collapsed = { siderCollapsed } onCollapse = { ( value ) => setSiderCollapsed ( value ) }
280
- >
280
+ >
281
281
< ScrollBar style = { { height : container . autoHeight ? "auto" : "100%" , margin : "0px" , padding : "0px" } } hideScrollbar = { ! container . siderScrollbars } >
282
282
< SiderInnerGrid
283
283
{ ...otherSiderProps }
@@ -326,30 +326,30 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
326
326
$borderColor = { style ?. border }
327
327
$borderWidth = { style ?. borderWidth }
328
328
style = { { padding : bodyStyle . containerBodyPadding } } />
329
- ) }
330
- </ ScrollBar >
331
- </ Content >
332
- ) }
329
+ ) }
330
+ </ ScrollBar >
331
+ </ Content >
332
+ ) }
333
333
{ showFooter && (
334
334
< Footer style = { { textAlign : 'center' , padding : '0px' , margin : '0px' , backgroundColor : footerStyle ?. footerBackground || 'transparent' } } >
335
335
< FooterInnerGrid
336
- $showBorder = { showHeader }
337
- { ...otherFooterProps }
336
+ $showBorder = { showHeader }
337
+ { ...otherFooterProps }
338
338
items = { gridItemCompToGridItems ( footerItems ) }
339
339
autoHeight = { true }
340
340
emptyRows = { 5 }
341
341
minHeight = { "48px" }
342
- containerPadding = { [ 0 , 0 ] }
343
- showName = { { top : showHeader ? 20 : 0 } }
342
+ containerPadding = { [ 0 , 0 ] }
343
+ showName = { { top : showHeader ? 20 : 0 } }
344
344
$backgroundColor = { footerStyle ?. footerBackground || 'transparent' }
345
345
$footerBackgroundImage = { footerStyle ?. footerBackgroundImage }
346
346
$footerBackgroundImageRepeat = { footerStyle ?. footerBackgroundImageRepeat }
347
347
$footerBackgroundImageSize = { footerStyle ?. footerBackgroundImageSize }
348
348
$footerBackgroundImagePosition = { footerStyle ?. footerBackgroundImagePosition }
349
349
$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 } } />
353
353
</ Footer >
354
354
) }
355
355
</ Layout >
@@ -364,7 +364,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
364
364
collapsedWidth = { container . siderCollapsedWidth }
365
365
reverseArrow = { true }
366
366
collapsed = { siderCollapsed } onCollapse = { ( value ) => setSiderCollapsed ( value ) }
367
- >
367
+ >
368
368
< ScrollBar style = { { height : container . autoHeight ? "auto" : "100%" , margin : "0px" , padding : "0px" } } hideScrollbar = { ! container . siderScrollbars } >
369
369
< SiderInnerGrid
370
370
{ ...otherSiderProps }
@@ -391,7 +391,7 @@ export function PageLayout(props: LayoutProps & { siderCollapsed: boolean; setSi
391
391
{ `
392
392
.ant-layout-sider-trigger {
393
393
bottom: 4px !important;
394
- ${ container . siderRight ? `
394
+ ${ container . siderRight ? `
395
395
right: 8px !important;
396
396
` : `
397
397
left: 8px !important;}
0 commit comments