Repository navigation
Expand file tree
/
Copy pathalign-issue-labels.css
More file actions
76 lines (67 loc) · 1.64 KB
/
Copy pathalign-issue-labels.css
File metadata and controls
76 lines (67 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
html:not([rgh-OFF-align-issue-labels]) {
div[class*='row__'],
ul[class*='withMetadata'] > li[class*='listItem']:not([class*='compact']) {
/* Only rows with labels, so the org repositories list is left alone */
&:has(button[aria-label^='Filter by label']) {
div[class*='container']:has(> [class*='heading']) {
display: contents;
> [class*='heading'] {
grid-area: primary;
padding-top: 8px;
}
> span[class*='trailingBadgesSpacer'] {
display: none;
}
> span[class*='trailingBadgesContainer'] {
grid-area: -1 / main-content;
padding-bottom: 10px;
&:empty {
/* Grid gap adds additional 4px */
padding-bottom: 6px;
}
&:is(li[class*='listItem'][class*=' listItem'] *) {
/* Height of the main content row provides more than enough spacing */
/* 4px added by grid gap are extra */
margin-top: -4px;
}
}
}
div[class*='metadataContainer']:is(
li[class*='listItem'][class*=' listItem'] *
) {
padding-top: 8px;
}
> div[class*='container'] > div[class*='inner'] {
padding-bottom: 0;
}
}
}
/* Old view - TODO: Drop after legacy PR lists are removed */
.js-issue-row {
/* Move labels in the Issue/PR list below the title */
.min-width-0 {
display: flex;
flex-wrap: wrap;
/* Labels */
> .lh-default {
order: 1;
}
}
/* Build status */
.commit-build-statuses {
margin-left: 4px;
}
/* Issue details line */
.mt-1.text-small.color-fg-muted {
flex-basis: 100%;
}
/* Title */
.h4 {
max-width: 100%; /* #1518 */
}
.IssueLabel {
margin-top: 4px;
font-size: 11px !important;
}
}
}