Skip to content

release-download-count - Fix overlap#8742

Merged
fregante merged 2 commits intomainfrom
releases-overlap
Nov 7, 2025
Merged

release-download-count - Fix overlap#8742
fregante merged 2 commits intomainfrom
releases-overlap

Conversation

@fregante
Copy link
Member

@fregante fregante commented Nov 7, 2025

@fregante fregante added the bug label Nov 7, 2025
@fregante fregante merged commit 6c7d68e into main Nov 7, 2025
11 checks passed
// Add at the beginning of the line to avoid (clickable) content shift
assetSize.parentElement!.prepend(
<span className={className}>
<span className={[...getClasses(assetSize)].join(' ')}>
Copy link
Member

@SunsetTechuila SunsetTechuila Nov 8, 2025

Choose a reason for hiding this comment

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

just curious: why did you choose this over assetSize.className?

Copy link
Member Author

Choose a reason for hiding this comment

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

getClasses also strips out any Refined GitHub classes

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I thought this was a standard JS function. I googled it but didn't read past the word "Java", lol

@fregante fregante deleted the releases-overlap branch November 8, 2025 17:19
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.

release-download-count gets mixed with asset name when the page narrows

2 participants