Improve CSS comment
This commit is contained in:
parent
7121a49e4e
commit
a489374ca6
|
@ -37,12 +37,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Position canvas in center-top.
|
/* Make canvas fill entire document: */
|
||||||
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 */
|
|
||||||
canvas {
|
canvas {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|
Loading…
Reference in New Issue