Skip to content

UX: Fix more-topics tabs interaction with --space #34047

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 2 commits into from
Aug 7, 2025
Merged

Conversation

CvX
Copy link
Contributor

@CvX CvX commented Aug 3, 2025

Changing --space css var would result in incorrect size of the tabs and wrong placement of the border:

Screenshot 2025-08-01 at 16 15 39

The implementation isn't ideal, there are sub-pixel height differences between the tabs and table header cells, but it's difficult to match display: block/flex and display: table-cell.


This also removes sizing down the font size on smaller screens. (the smaller font looked out of place between other, larger sized UI elements)

Changing `--space` css var would result in incorrect size of the tabs and wrong placement of the border:

The implementation isn't ideal, there are sub-pixel height differences between the tabs and table header cells, but it's difficult to match `display: block/flex` and `display: table-cell`.

---

This also removes sizing down the font size on smaller screens. (the smaller font looked out of place between other, larger sized UI elements)
@CvX CvX requested a review from awesomerobot August 3, 2025 22:26
@github-actions github-actions bot added i18n PRs which update English locale files or i18n related code styleguide labels Aug 3, 2025
@CvX
Copy link
Contributor Author

CvX commented Aug 4, 2025

cc: @discourse/designers

@CvX CvX merged commit 911488b into main Aug 7, 2025
26 of 28 checks passed
@CvX CvX deleted the 0-a-more-topics-css branch August 7, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code styleguide
Development

Successfully merging this pull request may close these issues.

2 participants