Skip to content

Commit cc7b522

Browse files
crisbetojosephperrott
authored andcommitted
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 0cd2d9d commit cc7b522

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

material.angular.io/material.angular.io/material.angular.io/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)