Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 970cf9b

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 5070ae6 commit 970cf9b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

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+
}
16.6 KB
Loading
22.1 KB
Loading

0 commit comments

Comments
 (0)