-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
29 lines (27 loc) · 1.08 KB
/
Copy pathstyles.css
File metadata and controls
29 lines (27 loc) · 1.08 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
/* Workaround for T-34409:
YouTube iframes initialize at 0x0 when inside hidden tab panels (display:none),
causing YouTube to pick low-res thumbnails that stay blurry after the tab opens.
Keeping panels in layout (display:block) with visibility:hidden + height:0 lets
iframes get proper dimensions on init, so YouTube serves the HD thumbnail. */
[data-component-part="tab-content"].hidden {
display: block !important;
visibility: hidden !important;
height: 0 !important;
overflow: hidden !important;
pointer-events: none !important;
}
/* Workaround for T-34266 / T-31565:
The hosted build injects <blockquote class="sr-only" data-agent-docs-index="true">
as the first child of mdx-content, which prevents the :first-child margin-top: 0
rule from applying to the actual first paragraph (rendered as span[data-as="p"]).
This targets that span directly when it follows the injected blockquote. */
#content-area
div.mdx-content.prose
> blockquote[data-agent-docs-index]
+ span[data-as="p"] {
margin-top: 0;
}
footer {
padding-top: 0px;
padding-bottom: 0px;
}