diff --git a/public/app.mjs b/public/app.mjs index bd95fa1..28b6b7c 100644 --- a/public/app.mjs +++ b/public/app.mjs @@ -1190,14 +1190,9 @@ function render_grid_viewer() { } )); - const zoom_el = document.getElementById('gv-zoom'); const cells_el = document.getElementById('grid-cells'); cells_el.style.gridTemplateColumns = `repeat(${grid.cols}, 1fr)`; - zoom_el.addEventListener('input', () => { - cells_el.style.zoom = zoom_el.value / 100; - }); - const all_cells = grid.cells.flat().map((filename, idx) => { const row = Math.floor(idx / grid.cols); const col = idx % grid.cols; diff --git a/public/style.css b/public/style.css index 871c199..cab28b4 100644 --- a/public/style.css +++ b/public/style.css @@ -1333,27 +1333,10 @@ nav { .grid-viewer-actions { display: flex; - align-items: center; gap: 0.5rem; flex-shrink: 0; } -.gv-zoom-label { - display: flex; - align-items: center; - gap: 0.4rem; - font-size: 0.8rem; - color: var(--text-dim); -} - -.gv-zoom-label input[type=range] { - width: 100px; - accent-color: var(--accent); -} - -.grid-cells-wrap { - overflow: hidden; -} .grid-cells { display: grid; diff --git a/public/templates.html b/public/templates.html index 0a84a21..b77ce55 100644 --- a/public/templates.html +++ b/public/templates.html @@ -355,18 +355,12 @@