diff --git a/src/ElementeApp.jsx b/src/ElementeApp.jsx index 5802f82..4934fef 100644 --- a/src/ElementeApp.jsx +++ b/src/ElementeApp.jsx @@ -29,8 +29,7 @@ function readTileMode() { function writeTileMode(m) { try { localStorage.setItem(TILE_MODE_KEY, m) } catch { /* WebView ohne Storage */ } } -const TILE_MIN_COL = { icon: 40, text: 64, both: 86 } -const TILE_MIN_H = { icon: 32, text: 30, both: 32 } +const ICON_GRID_MIN = 42 // min Spaltenbreite im reinen Symbol-Raster function TileModeDropdown({ mode, onChange }) { return ( @@ -82,6 +81,7 @@ function PillButton({ icon, label, hint, onClick, onContextMenu, disabled, hasMenu, badge, mode = 'both' }) { const showIcon = mode !== 'text' const showLabel = mode !== 'icon' + const isGrid = mode === 'icon' // reines Symbol = gleichmaessiges Raster return (