Improve CSS comment

This commit is contained in:
Emil Ernerfeldt 2024-06-27 11:17:49 +02:00
parent 7121a49e4e
commit a489374ca6
1 changed files with 1 additions and 6 deletions

View File

@ -37,12 +37,7 @@
width: 100%;
}
/* Position canvas in center-top.
This is rather arbitrarily chosen.
In particular, it seems like both Chromium and Firefox will still align
the canvas on the physical pixel grid, which is required to get
pixel-perfect (non-blurry) rendering in egui.
See https://github.com/emilk/egui/issues/4241 for more */
/* Make canvas fill entire document: */
canvas {
margin-right: auto;
margin-left: auto;