Commit 1ba3f69
fix: resolve CSS styling issues in web dashboard
Two critical issues were preventing styles from loading correctly:
1. **Incorrect CSS path references**: All HTML templates used relative
paths (e.g., `static/style.css`) instead of absolute paths
(`/static/style.css`), causing browsers to load assets relative to
the current URL instead of from the application root.
2. **TailwindCSS version mismatch**: The Makefile used `uv run tailwindcss`
which downloaded TailwindCSS v4, but the project uses v3.3.3 with
DaisyUI. This caused incomplete CSS compilation (540 lines vs 3,681
lines), missing all utility classes and DaisyUI components.
**Changes:**
- Fixed static file paths in all templates (7 files, 40+ references)
- Updated Makefile to use `bunx tailwindcss` for compilation
- Recompiled CSS with correct TailwindCSS v3.3.3 + DaisyUI
- Added `.biomeignore` to exclude generated CSS from linting
- Updated `biome.json` to remove deprecated config
**Impact:**
- Navigation now renders with proper DaisyUI styling
- All TailwindCSS utilities and components available
- Dark mode and responsive design work correctly
**Testing:**
- All 1076 tests passing
- CSS file: 3,681 lines with full DaisyUI components
- Static assets serving correctly at `/static/` path
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 64743d0 commit 1ba3f69
File tree
10 files changed
+3324
-57
lines changed- services/api/src/byte_api/domain/web
- resources
- templates
- base
10 files changed
+3324
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 10 | + | |
27 | 11 | | |
28 | 12 | | |
29 | 13 | | |
| |||
0 commit comments