Skip to content

Correct issue label CSS class#1287

Merged
sindresorhus merged 1 commit into
refined-github:masterfrom
cmfcmf:patch-1
May 2, 2018
Merged

Correct issue label CSS class#1287
sindresorhus merged 1 commit into
refined-github:masterfrom
cmfcmf:patch-1

Conversation

@cmfcmf

@cmfcmf cmfcmf commented Apr 30, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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