Skip to content

Commit d398abf

Browse files
committedNov 4, 2024
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 70bd909 commit d398abf

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed
 

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

+5
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)
Please sign in to comment.