Skip to content

UX: hashtag alignment in text and autocomplete #33902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 29, 2025
Merged

UX: hashtag alignment in text and autocomplete #33902

merged 4 commits into from
Jul 29, 2025

Conversation

chapoi
Copy link
Contributor

@chapoi chapoi commented Jul 28, 2025

We have to revert the mention mixin back from inline-flex to inline-block, due it also being used within text, and without inline-block, the alignment with text is impossible to get right.

Other than that this commit also:

  • replaced some of the spacing units with the new vars
  • removed unused hashtag css (replaced by hashtag-raw and hashtag-cooked)
  • streamlines sizing to using .93em everywhere and making sure elements don't get a double dose sizing by also applying font-down-1
  • try to simplify the logic between icon-square-emoji

This should look like:

Hashtag autocomplete

CleanShot 2025-07-29 at 16 07 36@2x

Hashtag cooked

CleanShot 2025-07-29 at 16 08 27@2x

@chapoi chapoi marked this pull request as ready for review July 29, 2025 14:08
Copy link
Contributor

@dbattersby dbattersby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it, tested it out locally and it looks great 😍

@chapoi chapoi merged commit d791e60 into main Jul 29, 2025
17 checks passed
@chapoi chapoi deleted the hashtag-alignment branch July 29, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants