summaryrefslogtreecommitdiff
path: root/source/features/align-issue-labels.tsx
blob: 3fbdf54cd1e752f91ce0a361ba7275de6dd2ed72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import './align-issue-labels.css';
import * as pageDetect from 'github-url-detection';

import features from '.';

function init(): void {
	document.body.classList.add('rgh-align-issue-labels');
}

void features.add({
	id: __filebasename,
	description: 'Aligns labels in lists to the left.',
	screenshot: 'https://user-images.githubusercontent.com/37769974/85866472-11aa7900-b7e5-11ea-80aa-d84e3aee2551.png'
}, {
	waitForDomReady: false,
	include: [
		pageDetect.isConversationList
	],
	init
});