Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
exports[`EuiPageTemplate _EuiPageInnerProps is rendered 1`] = `
<div
class="euiPageTemplate emotion-euiPageOuter-row-grow"
component="main"
style="min-block-size:max(460px, 100vh)"
>
<main
<div
class="customClassName emotion-euiPageInner-left"
id="customID"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/page_template/page_template.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('EuiPageTemplate', () => {
test('_EuiPageInnerProps is rendered', () => {
const component = render(
<EuiPageTemplate
component="main"
component="div"
contentBorder={true}
panelled={false}
mainProps={{ id: 'customID', className: 'customClassName' }}
Expand Down
2 changes: 2 additions & 0 deletions src/components/page_template/page_template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const _EuiPageTemplate: FunctionComponent<EuiPageTemplateProps> = ({
panelled,
// Inner props
contentBorder,
component,
mainProps,
// Outer props
className,
Expand Down Expand Up @@ -205,6 +206,7 @@ export const _EuiPageTemplate: FunctionComponent<EuiPageTemplateProps> = ({

<EuiPageInner
{...mainProps}
component={component}
id={pageInnerId}
border={innerBordered()}
panelled={innerPanelled()}
Expand Down