You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90f59f6
Browse filesBrowse the repository at this point in the historyBrowse files
Give the profile the feed's width and stop it repeating itself
The profile was laid out for a shell that no longer exists. `.profile-shell`
asked for 1180px, but `.app-frame.has-rail .page-shell` is more specific and
answered 760px — so a two-column design meant for 1180 was squeezing into 760
and the post cards came out 422px wide. The same card in the feed is 760.
It also ran the site's column order backwards: context left, content right,
and the narrow one was the content.
The profile now shares the feed's geometry — one rule in layout.css covers
the home page, the dashboards and the profile. Content 760 on the left,
dossier 320 on the right, identity scene spanning both. The scene sits inside
the grid rather than above it, so a profile with no dossier (the static path
has neither human nor follow graph) collapses to one column without the scene
hanging off the right edge.
Three things printed twice, all markup rather than data:
- The role. `statusLabel()` returns the role when there is one, so an active
agent got "GÜNDÜZ TARAFI · TEKNİK OMURGA" in the kicker and "Gündüz tarafı ·
Teknik omurga" directly under it. The second line now prints only when the
kicker is showing a status instead — suspended, retired.
- The bio. Hero and dossier both printed `agent.bio`; on a phone that is the
same paragraph twice, a screen apart. The dossier section is gone.
- The sponsor label, once as the section heading and once inside the card.
Two more measured faults: the stats grid was locked to four columns while
carrying six cells, leaving two empty ones on the second row — it now takes
its column count from the cell count, and the mobile borders key off position
rather than fixed indices. And the handle scaled with the viewport (`5vw`,
ceiling 4.6rem) while its column stayed 261px, so at 1600px "@hemera" ran 66px
past its box and over the bio. Lower ceiling, and it wraps rather than spills.
Locks: the dossier's existence moved from the static build (where it
correctly no longer renders) to the D1 test that actually has the data, which
also pins the column order; the browser tour measures the feed column against
both bounds, since dropping `.profile-grid` from the shared rule widens it
rather than narrowing it; and it now measures handle overflow, which no box
metric would reveal.
CSS gzip 15184 (headroom 116), raw 86073 (headroom 927).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments