clean-repo-sidebar - Apply to mobile#9618
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adjusts the “clean repo sidebar” styling by changing when a redundant links row is hidden and keeping desktop-only alignment tweaks in a media query.
Changes:
- Moves the “hide redundant releases/deployments/contributors links” rule to apply at all viewport widths.
- Keeps the icon alignment tweak scoped to
@media (width >= 768px)but shifts the media block below the new global rule.
fregante
left a comment
There was a problem hiding this comment.
Finally a PR with screenshots 🙏
|
Will wait for @SunsetTechuila to review since he opened the issue |
41e2fd3 to
cd67cd8
Compare
|
Please avoid force-pushing to this PR. It makes it harder for reviewers to track what changed since the last review. Just push new commits on top of the branch instead — PRs are squashed on merge, so the commit history doesn't need to be clean. |
|
Updated the selector as suggested. The latest check passed as well. Noted on the force-push guidance. I’ll push follow-up commits normally from now on. |
| // Hide the whole section if there's no releases | ||
| !elementExists('.octicon-tag', releasesSection) | ||
| // Don't hide the section if it has a "Create new release" link | ||
| && !elementExists('a[href$="releases/new"]', releasesSection) |
clean-repo-sidebar- Apply to mobile #9597Test URLs
https://github.com/refined-github/refined-github
Screenshot