Skip to content

Commit 72af55b

Browse files
committed
Prevent the icons svg from taking page rea-estate
This caused the jump when inserting a tooltip after this inline svg
1 parent a1b3db9 commit 72af55b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/preload.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ function preload() {
5858
image => loadImage(`${base}/${image}`)
5959
),
6060
loadSvg(`${base}/${iconsSvg}`).then(
61-
svg => document.body.appendChild(svg)
61+
svg => {
62+
svg.style.display = 'none';
63+
document.body.appendChild(svg);
64+
}
6265
)
6366
);
6467

0 commit comments

Comments
 (0)