From a489374ca63f0d1ae983bb21d8bb766b2d68737b Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 27 Jun 2024 11:17:49 +0200 Subject: [PATCH] Improve CSS comment --- web_demo/index.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web_demo/index.html b/web_demo/index.html index c4b3bac00..79d59e83f 100644 --- a/web_demo/index.html +++ b/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;