Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -15,7 +15,11 @@ const cssProp = css`
width: 100vw;
min-height: 100%;
min-width: 100%;
overflow: hidden;

@media screen {
// do not restrict height when printing
overflow: hidden;
}

display: grid;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ const globalLayoutStyles = (euiTheme: UseEuiTheme['euiTheme']) => css`
--kbnProjectHeaderAppActionMenuHeight: ${layoutVar('application.topBar.height', '0px')};
}

:root {
// disable document-level scroll, since the application area handles it
overflow: hidden;
// disable document-level scroll, since the application area handles it, but only when not printing
@media screen {
:root {
overflow: hidden;
}
}

#kibana-body {
Expand Down