Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Correct issue label CSS class#1287

Merged
sindresorhus merged 1 commit into
refined-github:masterrefined-github/refined-github:masterfrom
cmfcmf:patch-1cmfcmf/refined-github:patch-1Copy head branch name to clipboard
May 2, 2018
Merged

Correct issue label CSS class#1287
sindresorhus merged 1 commit into
refined-github:masterrefined-github/refined-github:masterfrom
cmfcmf:patch-1cmfcmf/refined-github:patch-1Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.