summaryrefslogtreecommitdiff
path: root/source/features/more-dropdown.css
blob: 769dbdd0672bdceffe86e37c79ad2877edf91d00 (plain) (blame)
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
/* Fix pre-existing items' positioning on GHE */
.reponav-dropdown a.dropdown-item:not(.rgh-reponav-more)::before {
	content: '';
	display: inline-block;
	width: 16px;
}

/* Ensure all icons are 16px wide for alignment */
/* TODO: drop once GHE starts using the new icons */
.rgh-reponav-more svg {
	width: 16px;
}

/* Always show the overflow menu button */
.rgh-has-more-dropdown .js-responsive-underlinenav-overflow {
	visibility: visible !important;
}

/* Keep the dropdown on the right on non-responsive pages #3548 */
main > :first-child {
	position: relative;
}

/* Only show the divider if there are other items above it */
.js-responsive-underlinenav-overflow [hidden] + .dropdown-divider {
	display: none;
}