Bundle frontend with esbuild, serve fonts offline, fix dashboard
- Add esbuild bundling: JS (IIFE, minified, sourcemapped) and CSS into single dist/ files, replacing 15+ individual CSS links and CDN scripts - Bundle Chart.js and ELK.js from npm instead of CDN (fully offline) - Serve DM Sans and Orbitron fonts locally from static/fonts/ - Fix dashboard automation card stretching full width (max-width: 500px) - Fix time_of_day condition not localized in automation cards - Add Chrome browser tools context file for MCP testing workflow - Update frontend context with bundling docs and Chrome tools reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -306,6 +306,10 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dashboard-automation {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.dashboard-automation .dashboard-target-metrics {
|
||||
min-width: 48px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user