fix: align templates with wireframe styling #34
Reference in New Issue
Block a user
Delete Branch "fix/wireframe-styling-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wireframe Audit Fixes
Audited all Django templates against
wireframe.htmland fixed the following differences:Tag borders (white border bug)
border-current/20on article header tags was invalid — Tailwind CSS can't apply opacity modifiers tocurrentColor. This caused a bareborderwith the default colour (white/light grey), producing the visible white borders on tags.Fix: Added a
borderkey toTagMetadata.get_css_classes()and a newget_tag_border_csstemplate filter that returns the correct per-tag border colour class (e.g.border-brand-cyan/20).Missing icons
Article card footer layout
Removed the extra
min readspan andjustify-betweenlayout fromarticle_card.htmlto match the wireframe's simpler left-alignedRead Article →link.Code block rounding
Added
rounded-mdto the code block template matching the wireframe.Tailwind CSS rebuild
Rebuilt
styles.css— all new utility classes are included.Test
Added
test_get_tag_border_css_fallbackfor the new filter. All existing tests pass.