mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 05:52:50 +00:00
35 lines
747 B
CSS
35 lines
747 B
CSS
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
/*
|
|
Hide some things in Argos screenshots because they are a source of flakiness
|
|
*/
|
|
iframe,
|
|
article.yt-lite,
|
|
.avatar__photo,
|
|
img[src$='.gif'],
|
|
h2#using-jsx-markup ~ div > div[class*='browserWindowBody']:has(b),
|
|
.DocSearch-Button-Keys > kbd,
|
|
[class*='playgroundPreview'] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/*
|
|
Different docs last-update dates can alter layout
|
|
"visibility: hidden" is not enough
|
|
*/
|
|
.theme-last-updated {
|
|
display: none;
|
|
}
|
|
|
|
/*
|
|
Mermaid diagrams are rendered client-side and produce layout shifts
|
|
*/
|
|
.docusaurus-mermaid-container {
|
|
display: none;
|
|
}
|