diff --git a/static/index.html b/static/index.html index 1454650..84ea8d0 100644 --- a/static/index.html +++ b/static/index.html @@ -423,6 +423,7 @@ width: 64px; padding: 0 4px; } .asset-item .ai-icon .cat-icon-img { width: 32px; height: 32px; object-fit: contain; } + .asset-item .ai-icon svg { width: 24px; height: 24px; display: block; } .asset-item .ai-icon.cat-Bev { background: #0a3a65; } .asset-item .ai-icon.cat-Snack { background: #3a2a10; } .asset-item .ai-icon.cat-Food { background: #3a1a0a; } @@ -3172,14 +3173,14 @@ // ── Category config ─────────────────────────────────────────────────── const CATEGORY_MAP = { - 'Bev': { icon: '🥤', color: '#0a7ab5' }, - 'Snack': { icon: '🍿', color: '#c97d0e' }, - 'Food': { icon: '🍔', color: '#e67e22' }, - 'Equipment': { icon: '🔧', color: '#2c3e50' }, - 'Appliances': { icon: '🔌', color: '#3b82f6' }, - 'Markets': { icon: '🏪', color: '#7c3aed' }, - 'Coffee': { icon: '☕', color: '#a16207' }, - 'Other': { icon: '📦', color: '#6b7280' }, + 'Bev': { icon: '', color: '#0a7ab5' }, + 'Snack': { icon: '', color: '#c97d0e' }, + 'Food': { icon: '', color: '#e67e22' }, + 'Equipment': { icon: '', color: '#2c3e50' }, + 'Appliances': { icon: '', color: '#3b82f6' }, + 'Markets': { icon: '', color: '#7c3aed' }, + 'Coffee': { icon: '', color: '#a16207' }, + 'Other': { icon: '', color: '#6b7280' }, }; const CATEGORY_UNMAPPED_ICON = '❓'; const CATEGORY_UNMAPPED_COLOR = '#b91c1c'; @@ -4978,7 +4979,6 @@ sorted.forEach(function(a) { var ci = categoryInfo(a.category); var icon = ci.icon; - if (icon.indexOf('' + '' + icon + '' +