Skip to content

Comments

fix: linkify the whole Download button#76

Open
Crystal-RainSlide wants to merge 2 commits intorhino-linux:mainfrom
Crystal-RainSlide:fix-download-btn
Open

fix: linkify the whole Download button#76
Crystal-RainSlide wants to merge 2 commits intorhino-linux:mainfrom
Crystal-RainSlide:fix-download-btn

Conversation

@Crystal-RainSlide
Copy link

@Crystal-RainSlide Crystal-RainSlide commented Aug 7, 2025

Before this fix, only the text on the Download button is a link, and clicking anywhere on the btn but out of the text would lead to nothing. Move the button into the <a> fixes this problem.

Move classNames of <a>s to the start & fix the indent by the way.

(Actually the <button> can be skipped without much compromise if you add role="button" to the <a>.)

@oklopfer
Copy link
Member

@Crystal-RainSlide major apologies that this has gone unnoticed for so long, it is clearly useful. Would you be able to rebase on the latest branch so we can merge it in? (I could of course make the change myself but want you to get commit credits)

@Crystal-RainSlide
Copy link
Author

@oklopfer Done, but, well, now there is one more fix (to make React happy) and you might want to test that!

Copy link
Member

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

Actually one small change as padding is broken :p

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants