sindresorhus/refined-github

Restore "Delete branch" button in responsive branch list #2452

fregante posted onGitHub

  1. Visit https://github.com/sindresorhus/refined-github/branches
  2. Resize the window to less than 1000px
  3. See "Delete branch" icon disappear

This makes it impossible to delete a branch unless you make your window bigger or zoom out.

The trash icon should always be visible. The New PR button can be hidden (leave as is). There still are alternative ways to create PRs, but there's no other way to delete a branch.

Button gone


Hi

I have little to no experience working on UX/CSS, and am trying my hand to address this. I've a branch where I've made some changes, but ofcourse they are not working right now.

could you pls take a look at it, and provide me some feedback if approach to keep delete button visible is OK or not.

https://github.com/sindresorhus/refined-github/compare/master...rajatjindal:issue-2452?expand=1

Thanks Rajat Jindal

posted by rajatjindal over 5 years ago

This should be a CSS-only feature; the button is already in the DOM and it only needs some CSS to unhide it.

posted by fregante over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests