Repository navigation
Migrate frontend to Tailwind CSS 4 - #173
Merged
Merged
Conversation
…nu, terrain polygons Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018qynKVbc2YsgXtocakyWKZ
…ions, highways, street-only Recovers locations (and the crash category) for about 18 points more of the serious incidents over a 14-day corpus; water rescue apparatus names are no longer incidents. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018qynKVbc2YsgXtocakyWKZ
Tokens move from tailwind.config.js to an @theme block in index.css, renamed v4 utilities are updated, and space-y keeps its v3 behaviour as stack-y. Fixes the map collapsing to zero height: v4 utilities sit in a CSS layer, so MapLibre's unlayered position:relative beat absolute inset-0 on the container. Packages: tailwindcss and @tailwindcss/postcss 4.3.3 (required by the migration), exact pins; npm audit reports 0 vulnerabilities. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UFDuvC8ZvtrTuLzLPL1gT
The Incidents map, radar mini-map and Flight Log map used absolute inset-0 on the MapLibre container; MapLibre's unlayered position:relative now wins over the layered utility, leaving them blank. Size them with w-full h-full like the main map. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UFDuvC8ZvtrTuLzLPL1gT
…type Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UFDuvC8ZvtrTuLzLPL1gT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@tailwindcss/postcss(exact pins;npm audit: 0 vulnerabilities). Needed for the migration deferred from the braces-advisory work.tailwind.config.jsinto an@themeblock infrontend/src/index.css(colours, 0px radii, shadows, fonts); renamed v4 utilities updated across components;space-y-*keeps v3 behaviour asstack-y-*.position: relativebeatabsolute inset-0and collapsed the map to zero height. Container now sized withw-full h-full.Test plan
cd frontend && npx tsc --noEmitexits 0npm auditreports 0 vulnerabilitiesdocker compose config --quiet,docker compose build frontend🤖 Generated with Claude Code
https://claude.ai/code/session_011UFDuvC8ZvtrTuLzLPL1gT