Repository navigation
profile card: keep the crew line clear of X's title overlay - #155
Merged
Merged
Conversation
X lays the page title over the bottom-left corner of a link preview, which hid the crew line. The URL moves there instead, since X shows the link under the card anyway, and the crew line moves right. The crew name is clipped to the room the URL leaves, so a 39-character handle and a long crew name never overlap.
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.
On X the page title ("@handle on vibetime") sits over the card's bottom-left corner, which hid the crew line. This swaps the footer: the URL goes bottom-left, where X already shows the link under the card, and the crew line goes bottom-right.
The crew name is clipped to whatever width the URL leaves, so the longest handle plus a long crew name still don't overlap.
Rendered through a local worker: a normal profile, and a 39-character handle in a crew with a long name.
npm run typecheck --prefix serverclean,npm testpasses. Server-only, plain deploy.