Skip to content

Commit bd91059

Browse files
committed
[Page Template] Set a white background for page template
1 parent 33cc143 commit bd91059

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/eui/src/components/page_template/inner/page_inner.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export const euiPageInnerStyles = (euiThemeContext: UseEuiTheme) => {
2121
flex-direction: column;
2222
align-items: stretch;
2323
flex: 1 1 100%;
24+
background: ${euiThemeContext.euiTheme.colors.backgroundBasePlain};
2425
/* Make sure that inner flex layouts don't get larger than this container */
2526
${logicalCSS('max-width', '100%')}
2627
${logicalCSS('min-width', '0')}
2728
`,
2829

2930
panelled: css`
30-
background: ${euiThemeContext.euiTheme.colors.backgroundBasePlain};
3131
${euiShadow(euiThemeContext, 'm', { border: 'none' })};
3232
`,
3333

packages/eui/src/components/page_template/inner/page_inner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export type _EuiPageInnerProps<T extends ComponentTypes = 'main'> =
3232
*/
3333
component?: T;
3434
/**
35-
* Adds a white background and shadow to define the area.
35+
* Adds a shadow to define the area.
3636
*/
3737
panelled?: boolean;
3838
/**

0 commit comments

Comments
 (0)