Skip to content

Commit 2dae6e1

Browse files
fix: add html,body height:100% to match Material layout
Material's all-component-themes mixin sets height: 100% on html and body for the sidenav/toolbar layout. Without it, fullPage screenshots capture the full content height instead of the viewport, causing 4-5x height diffs. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e09828f commit 2dae6e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/web-app/src/styles/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@
8989
border-color: var(--color-gray-200, currentColor);
9090
}
9191

92+
html,
93+
body {
94+
height: 100%;
95+
}
96+
9297
html {
9398
font-display: swap;
9499
font-size: 14px; /* Material base: 1rem = 14px */

0 commit comments

Comments
 (0)