Skip to content

Reset vertical-align for new octicons in js-issue-row - #3150

Merged
fregante merged 3 commits into
refined-github:octicons-v2-updatesfrom
fspoettel:fix-octicon-alignment-issue-row
May 28, 2020
Merged

Reset vertical-align for new octicons in js-issue-row#3150
fregante merged 3 commits into
refined-github:octicons-v2-updatesfrom
fspoettel:fix-octicon-alignment-issue-row

Conversation

@fspoettel

Copy link
Copy Markdown
Contributor

Hi,
fixes a misaligned icon I noticed after the recent octicons update. Not sure if this is the best way to go about it, feel free to close in case there is a better way to achieve this.

Before:

Screenshot from 2020-05-28 10-07-48

After:

Screenshot from 2020-05-28 10-31-13

Thanks for maintaining this extension! ☀️

@fregante

Copy link
Copy Markdown
Member

Thanks for the PR, but if this happens without Refined GitHub (which apparently does) we shouldn't fix it since they're probably still working on it.

@fspoettel

fspoettel commented May 28, 2020

Copy link
Copy Markdown
Contributor Author

@fregante Thanks for taking a look.

It does not look off without Refined Github for me, this is what it looks like in that case:

Screenshot from 2020-05-28 11-09-35

The line-height: 1.8 rule in the extension in combination with Github vertical-align: bottom causes the misalignment

@fregante

Copy link
Copy Markdown
Member

You're absolutely right!

Comment thread source/refined-github.css
@fregante fregante added the bug label May 28, 2020
@fregante
fregante merged commit 46e1393 into refined-github:octicons-v2-updates May 28, 2020
@fspoettel
fspoettel deleted the fix-octicon-alignment-issue-row branch May 28, 2020 11:42
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.

2 participants