Releases/pulls meta rows render concatenated ("this is a title9 hours ago1 assets") — .card-meta has no CSS rule #277
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#277
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What's wrong
Meta rows in the releases/pulls pages render their spans concatenated without any separation: the release row on
/releasesat mobile width literally reads(title + publish date + asset count glued together). Confirmed in the live DOM:
.card-metainnerHTML is three adjacent<span>s, and no CSS rule for.card-metaexists anywhere in the stylesheets — the class is referenced inweb/src/pages/Releases.jsx,Release.jsx,Pulls.jsx, andPull.jsxbut never styled (nodisplay, nogap, no margins). It only looked spaced on desktop by accident of viewport width; on mobile the wraps make the missing spacing obvious, and even on desktop the spans run together.Evidence
.card-meta=<span>this is a title</span><span><time>9 hours ago</time></span><span>1 assets</span>— computed display block-ish with no gap.card-metaappears in the four pages above; zero CSS rules matchcard-metainweb/css/*.cssorweb/src/ui.css.Fix direction
.card-metaa real rule inweb/css/repo.css(where the sibling.card-*classes live): flex row,gap: 0.5rem, wrap allowed, muted color — matching the visual intent of the existing usages..card-metausages for separator semantics (some may want explicit·separators like the repo header uses).Fix PR: #287 — real
.card-metarule (flex row, gap, wrap, muted, dark+light) in the LIVEweb/src/ui.css(not deadweb/css/repo.css), plus·separators in Pulls.jsx/Pull.jsx consistent with the repo header. Two corrections to the issue body: only 2card-metauses remain (#270 redesigned Releases/Release with Tailwind-inline rows), and the rule belongs in ui.css. Audit found more rule-less classes used in the same files (card-list,card-title,btn-primary,link,field) — reported in the PR, unfixed, each needs its own issue.node --test552/552 green,vite buildgreen; browser proof open (loopback guard).Review of PR #287 (fix/issue-277, commit
2cd0487) — verified in scratch worktree, main worktree untouched. No browser used (node tests + reasoning only, per instructions).FINDINGS (all checks pass, no fixes needed):
VERIFICATION: node --test web/test/unit/card-meta.test.js 4/4 pass; full suite 552/552 pass (note: scratch worktree needed web/node_modules copied from main worktree for marked/dompurify imports — environmental, not a PR issue); vite build green (141 modules, 1.81s); .card-meta + dark variant confirmed in dist CSS.
MERGE RECOMMENDATION: ready to merge.
Fixed by PR #287 (review clean; live-stylesheet rule + separators verified; 552/552), merged. Closing.