Skip to content

Conversation

@kidonng
Copy link
Member

@kidonng kidonng commented Apr 26, 2021

Fix #4277

Test URLs

See #4089

Screenshot

image

image

@fregante
Copy link
Member

We just need to add a single space character, unconditionally. Mr-1 is not exactly the same I think

@kidonng
Copy link
Member Author

kidonng commented Apr 26, 2021

Does it work? I tried and not luck 😅

Mr-1 is not exactly the same I think

"Open with" button has a 4px (same as .mr-1) left margin, unfortunately it's inside so they won't overlap.

@fregante fregante added the bug label Apr 26, 2021
@fregante fregante changed the title Add space for view-last-pr-deployment on editable PRs view-last-pr-deployment: Fix spacing on editable PRs Apr 26, 2021
@kidonng
Copy link
Member Author

kidonng commented Apr 26, 2021

I added new screenshots in PR description.

@fregante
Copy link
Member

If you’re going that route, we only need a CSS rule, no extra classes. I think left:8px and right:4px

@kidonng
Copy link
Member Author

kidonng commented Apr 27, 2021

That won't work on non-editable PR, the spacing will be 4px from "Open With".

@fregante fregante changed the title view-last-pr-deployment: Fix spacing on editable PRs Improve spacing of PR header buttons Apr 27, 2021
@fregante
Copy link
Member

💯

@fregante fregante merged commit 8c1ab31 into refined-github:main Apr 27, 2021
@kidonng kidonng deleted the view-last-pr-deployment branch August 2, 2021 18:47
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.

view-last-pr-deployment is not spaced correctly on editable PRs

2 participants