`latest-tag-button` causes "Use this template" overlap
Please ensure:
- [X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
Include in this issue:
- [X] Screenshots/video/gif demonstrating the bug, if it’s visual
- [ ] Console errors, if any
Description
Window width between 600 and 1000px
I'm not sure about what we should do though
Example URL
https://github.com/fregante/browser-extension-template
Browser(s) used
Safari
Even before the button collides with the sidebar, this happens (around 1100px wide):

The obvious solution would be to hide our own button, but if we don't want to do that, how about moving "Use this template" to the top of the sidebar? Or maybe just under the repo description?
Time to make it an icon with clean-repo-filelist-actions
@cheap-glitch what's with that "Code" label? Did clean-repo-filelist-actions fail to remove it?
Time to make it an icon with
clean-repo-filelist-actions
I don't know, what icon could convey the meaning unambiguously? This is probably not a button frequently seen by users, so it might get confusing.
what's with that "Code" label? Did
clean-repo-filelist-actionsfail to remove it?
Nice catch, apparently GitHub dropped the icon so the selector doesn't work anymore. Edit: opened #5074
Possible solution, similar to:
- https://github.com/refined-github/refined-github/pull/5623
flex-wrap: wrap;
gap: 8px;
justify-content: flex-end;
It needs the same fix we applied in #5623 for the duplicate margins. Alternatively, use gap: 0 8px and just drop the margin-right on the green element.
Needs testing on several repos. We could also disable the hiding of tags and branches:
Button’s gone 😍
