Skip to content

[EuiPageTemplate] Account for new serverless header style #7765

Closed as not planned
@dominiqueclarke

Description

@dominiqueclarke

I noticed that there's an unnecessary scroll on serverless when the page content does not take up the full page height.

Screen.Recording.2024-05-16.at.10.37.35.AM.mov

Although there is no additional content, the page scrolls due to the specified min-height. I noticed this style applied to the EuiPageTemplate.

min-block-size: calc(100vh - var(--euiFixedHeadersOffset, 0));

This works well for ESS where there is only one fixed header.

image

However there are two fixed headers in serverless, requiring a different calculation.
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions