Fix GitHub bug: keep "Symbolic Link" link visible on all screens by fregante · Pull Request #9510 · refined-github/refined-github · GitHub
Skip to content

Fix GitHub bug: keep "Symbolic Link" link visible on all screens#9510

Merged
fregante merged 3 commits into
mainfrom
symbolic
May 18, 2026
Merged

Fix GitHub bug: keep "Symbolic Link" link visible on all screens#9510
fregante merged 3 commits into
mainfrom
symbolic

Conversation

@fregante

Copy link
Copy Markdown
Member

@github-actions github-actions Bot changed the title Update github-bugs.css Update github-bugs.css May 18, 2026
@fregante fregante changed the title Update github-bugs.css Fix GitHub bug: keep "Symbolic Link" link visible on all screens May 18, 2026
Comment thread source/features/github-bugs.css
Comment on lines +287 to +294
/* Restores "Symbolic link" link in the gap between GitHub's media queries (1012 -> 1280) */
/* Info: https://github.com/refined-github/refined-github/issues/9480 */
/* Test: https://github.com/refined-github/refined-github/blob/55b7ce0fddd/CLAUDE.md */
@media (max-width: 1280px) {
:root .react-code-size-details-banner {
display: flex !important;
}
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Pretty straightforward. This code comes from them, I just updated the media query to match the other one:

@media (max-width: 1280px) {
	.react-code-size-details-in-header {

/* Info: https://github.com/refined-github/refined-github/issues/9480 */
/* Test: https://github.com/refined-github/refined-github/blob/55b7ce0fddd/CLAUDE.md */
@media (max-width: 1280px) {
:root .react-code-size-details-banner {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
:root .react-code-size-details-banner {
.react-code-size-details-banner {

It is unnecessary, isn't it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The selector matches GitHub's, so we need to avoid this: #9335 (comment)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@fregante fregante merged commit c110514 into main May 18, 2026
10 checks passed
@fregante

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Symbolic link is hidden at certain resolutions

2 participants