Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Remove default body margin to remove scrollbars#52

Open
jonknapp wants to merge 1 commit intorustwasm:masterfrom
jonknapp:fix-scrollable-page
Open

Remove default body margin to remove scrollbars#52
jonknapp wants to merge 1 commit intorustwasm:masterfrom
jonknapp:fix-scrollable-page

Conversation

@jonknapp
Copy link

Summary

The default css for rending the <body> makes the page scroll up and down. This will remove browser's default spacing to allow the 100% property to not go outside of the browser window bounds.

https://rustwasm.github.io/docs/book/game-of-life/implementing.html#rendering-with-javascript

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant