Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct issue label CSS class #1287

Merged
merged 1 commit into from
May 2, 2018
Merged

Conversation

cmfcmf
Copy link
Contributor

@cmfcmf cmfcmf commented Apr 30, 2018

I noticed that the issue labels were quite big. After looking into the code, I discovered that the current CSS selector doesn't seem to be valid any longer. GitHub has renamed the label class to IssueLabel both on pull requests and issues.

I could also change it to .js-issue-row .label, .js-issue-row .IssueLabel { to be backwards-compatible (think maybe older GitHub enterprise versions?).

@sindresorhus
Copy link
Member

I could also change it to .js-issue-row .label, .js-issue-row .IssueLabel { to be backwards-compatible (think maybe older GitHub enterprise versions?).

I don't think we should bother doing GHE backward support unless something is broken. Here it's fine, just not optimal looking.

@sindresorhus sindresorhus merged commit c88fb35 into refined-github:master May 2, 2018
@cmfcmf cmfcmf deleted the patch-1 branch May 2, 2018 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants