Browse Source

Improve CSS comment

emilk/refactor-web-events
Emil Ernerfeldt 4 months ago
parent
commit
a489374ca6
  1. 7
      web_demo/index.html

7
web_demo/index.html

@ -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;

Loading…
Cancel
Save