Skip to content

mobile-tabs-pr - Restore feature - #9228

Merged
fregante merged 11 commits into
mainfrom
copilot/update-mobile-tabs-css-classes
Apr 20, 2026
Merged

fregante merged 11 commits into
mainfrom
copilot/update-mobile-tabs-css-classes

Conversation

Copilot AI commented Apr 20, 2026 •

Copy link
Copy Markdown
Contributor

< 500px

Screenshot

< 800px

Screenshot 1

Copilot AI linked an issue Apr 20, 2026 that may be closed by this pull request
1 task done
Copilot AI changed the title [WIP] Update mobile-tabs to use flexbox layout Update mobile-tabs for new PR tab DOM on mobile Apr 20, 2026
Copilot AI requested a review from fregante April 20, 2026 10:15
Comment thread source/features/mobile-tabs.css Resolved
Comment thread source/features/mobile-tabs.css Resolved
Copilot AI requested a review from fregante April 20, 2026 10:36
@github-actions github-actions Bot added the bug label Apr 20, 2026
@fregante
fregante marked this pull request as ready for review April 20, 2026 10:53
@fregante fregante changed the title Update mobile-tabs for new PR tab DOM on mobile mobile-tabs - Restore on PRs Apr 20, 2026

@fregante fregante left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this looks pretty good:

Image

Only one issue: If the hardcoded width doesn't match the font's real width, we get some bad layout: Image

Code related to repos and profiles is not covered by this PR, but most likely it will have to be its own separate code. That one can use grid. I'd be more inclined to turn this into mobile-tabs-pr since it's unlikely that there will be useful code overlap.

Comment thread source/features/mobile-tabs.css Resolved

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  • move PR-related code to mobile-tabs-pr.css
  • drop :root
  • use nested css selectors

Copilot AI commented Apr 20, 2026 •

Copy link
Copy Markdown
Contributor Author

I think this looks pretty good:

Image

...

Addressed in 4f4c81f. PR-specific styles were extracted and the tab sizing now uses min-width (instead of fixed width) so labels can expand with real font metrics and avoid the broken layout from hardcoded widths. Screenshot: https://github.com/user-attachments/assets/34d703e1-d79d-40e1-8aa1-571a9ed19286

  • move PR-related code to mobile-tabs-pr.css
  • drop :root
  • use nested css selectors

Done in 4f4c81f. PR-related styles were moved to mobile-tabs-pr.css, :root was removed from the PR selectors, and the PR styles now use nested selectors. Screenshot: https://github.com/user-attachments/assets/34d703e1-d79d-40e1-8aa1-571a9ed19286

Copilot AI changed the title mobile-tabs - Restore on PRs mobile-tabs-pr - Restore on PRs Apr 20, 2026
Copilot AI requested a review from fregante April 20, 2026 15:57
@fregante fregante changed the title mobile-tabs-pr - Restore on PRs mobile-tabs-pr - Restore feature Apr 20, 2026
@fregante
fregante merged commit b76852d into main Apr 20, 2026
12 checks passed
@SunsetTechuila
SunsetTechuila deleted the copilot/update-mobile-tabs-css-classes branch April 23, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

mobile-tabs missing on new PR view

3 participants