Skip to content

Commit 4b2e2fc

Browse files
committed
fix: incorrect scenes
Fixes that we weren't resetting the `body` element's default `margin` which caused some scenes to have incorrect offets for the overlays.
1 parent 84adfb7 commit 4b2e2fc

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

material.angular.io/scenes/src/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ html {
1212
density: 0,
1313
));
1414
}
15+
16+
body {
17+
// The margin can throw off positioning since the overlay container is within the body.
18+
margin: 0;
19+
}
Loading
Loading

0 commit comments

Comments
 (0)