Commit f0abcdc
ensure the body fills the entire view
Adding set width/height to the body & html ensures that they fill the entire view.
This ensures that you can force bevy to fill the entire page using:
```rust
.insert_resource(WindowDescriptor {
fit_canvas_to_parent: true,
..default()
})
```1 parent fc6ff38 commit f0abcdc
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments