diff --git a/public/shell.js b/public/shell.js index 9fdbdb6..2ba64e6 100644 --- a/public/shell.js +++ b/public/shell.js @@ -251,6 +251,7 @@ function minSizeOf(tile) { /* ── tile DOM ───────────────────────────────────────────────────────── */ +const CLOSE_SVG = ''; const GEAR_SVG = ''; function buildTile(tile) { @@ -294,7 +295,7 @@ function buildTile(tile) { const close = document.createElement('button'); close.className = 'tile-btn close'; close.title = 'Remove this tile'; - close.textContent = '✕'; + close.innerHTML = CLOSE_SVG; // a drawn cross, the same size in every browser (the ✕ glyph varies) close.addEventListener('click', (e) => { e.stopPropagation(); removeTile(tile.id);