summaryrefslogtreecommitdiff
path: root/source/features/always-show-branch-delete-buttons.css
blob: e8716ebfb4d873a0a8b86ec641d3b02087377a44 (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
/* Restore "Delete branch" button in responsive branch list */
@media (max-width: 1011px) {
	/* Show "Delete"’s container */
	.js-branch-row .d-none.d-md-flex,
	/* Show "Delete" unless it's deleted */
	.js-branch-row:not(.Details--on) form.js-branch-destroy {
		display: flex !important;
	}

	/* On small viewports, the whole line becomes clickable. Disable this "touch" feature */
	.js-branch-row .d-block.d-md-none {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.js-branch-row .col-12 {
		width: auto;
		flex-grow: 1;
	}

	:root .js-branch-row .col-12 .css-truncate-target {
		white-space: initial;
	}
}