From 1e83e48cba95d12bb08665849b9499abdf5088d6 Mon Sep 17 00:00:00 2001 From: b0txec Date: Tue, 25 Aug 2026 10:38:07 +0300 Subject: [PATCH] Fix a real CSS collision and remove dead frontend code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Result.css (Kartes' results grid/list): a newer consolidated .item rule used background:var(--surface)!important to force out an older duplicate rule instead of removing it -- the old rule's background-color was fully dead but its padding/text-align/max-width were still silently active underneath. Consolidated into one rule per view, dropped the !important. Dead code, verified via a systematic check of every class in each stylesheet against actual .tsx usage (not just the classes a prior review happened to flag -- that list undercounted by several in mapGraphics.css alone): - mapGraphics.css: an entire leftover "Production layout" block (9 classes: graphicsSetup, graphicsMain, dataOptions, dataOptionsGrid, productionOptions, productionToolbar, loadMapButton, choiceGroup, windChoice), including a scoped selector (.mapGraphicsPage .workspaceRail) that never matched because no such element exists in the current Faktiskā markup -- leftover from an earlier panel restructure. - index.css / aggregator.css: unused .grid-1-1/.grid-1-2 utility classes and a standalone .panel rule superseded by the more specific cityPanel/queryPanel/resultsPanel variants. - calendar.module.css: .calendarNav (never rendered) and .nextMonth (no next-month dimming logic exists, only prevMonth). - DateList.tsx: an empty