summaryrefslogtreecommitdiff
path: root/source/features/scrollable-areas.css
blob: e6c112d60079960f11172003d1f83b7912a35ced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[rgh-scrollable-areas] .comment-body :is(blockquote, pre) {
	position: relative; /* OctoLinker compat: attach the purple balls to the scroll */
	max-height: 30.5em;
	overflow-y: auto;
}

/* A tiny scroll bar appears when the last paragraph contains a `code` or `g-emoji` tag #3012 #4597 */
[rgh-scrollable-areas] .comment-body blockquote {
	padding-bottom: 0.2em; /* Do not add to `pre` #5540 */
}

[rgh-scrollable-areas]
	.comment-body
	:is(details, blockquote)
	:is(blockquote, pre) {
	max-height: none;
}