[object Object]

← back to Apartmentwallpaper

feat: expand grid density slider range to 3-12 columns

cb3473f624e91950a016cd46c6f261ff7dba8ae6 · 2026-06-22 21:48:48 -0700 · Steve Abrams

Files touched

Diff

commit cb3473f624e91950a016cd46c6f261ff7dba8ae6
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 22 21:48:48 2026 -0700

    feat: expand grid density slider range to 3-12 columns
---
 public/index.html | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/public/index.html b/public/index.html
index b85881c..7895e8c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1180,8 +1180,8 @@ loadGridPage();
 (function(){
   const CFG = {
     storageKey: 'dw_grid_cols',
-    minCols: 1,
-    maxCols: 6,
+    minCols: 3,
+    maxCols: 12,
     defaultCols: 3,
     mobileBreakpoint: 768,
     nameHideThreshold: 5  // Hide names when > 5 columns
@@ -1241,14 +1241,12 @@ loadGridPage();
       <div id="dw-density-slider" class="dw-grid-control">
         <div class="dw-grid-label">Columns</div>
         <div class="dw-grid-buttons">
-          <button data-cols="1" aria-label="1 column" title="1">1</button>
-          <button data-cols="2" aria-label="2 columns" title="2">2</button>
           <button data-cols="3" aria-label="3 columns" title="3" class="active">3</button>
           <button data-cols="4" aria-label="4 columns" title="4">4</button>
           <button data-cols="5" aria-label="5 columns" title="5">5</button>
           <button data-cols="6" aria-label="6 columns" title="6">6</button>
         </div>
-        <input type="range" id="dw-col-range" class="dw-slider" min="1" max="6" step="1" value="3" aria-label="Grid columns">
+        <input type="range" id="dw-col-range" class="dw-slider" min="3" max="12" step="1" value="3" aria-label="Grid columns">
         <span id="dw-col-label" class="dw-col-label">3 cols</span>
       </div>
     `;

← 5353512 fix: improve sort dropdown positioning with overflow handlin  ·  back to Apartmentwallpaper  ·  Update grid density slider to desktop-only (3-12 columns) 48950fe →