/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
argos/tests/screenshot.css
54 строки
1 KB
Sébastien Lorber
chore: remove useless Argos screenshot css (#9273)
31 авг 2023, 14:56
Не верифицирован
31 авг 2023, 14:56
6f9f8ee
Код
Авторство
О чём код?
/** * 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. */ /* We need to hide some elements in Argos/Playwright screenshots Those elements are source of flakiness due to nondeterministic rendering They don't consistently render exactly the same across CI runs */ /******* DOCUSAURUS GLOBAL / THEME *******/ /* Iframes can load lazily */ iframe, /* Avatar images can be flaky due to using external sources: GitHub/Unavatar */ .avatar__photo, /* Gifs load lazily and are animated */ img[src$='.gif'], /* Algolia Keyboard shortcuts appear with a little delay */ .DocSearch-Button-Keys > kbd, /* The live playground preview can often display dates/counters */ [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; } /******* DOCUSAURUS WEBSITE SPECIFIC *******/ /* ProductHunt vote counter can increment at any time */ .producthunt-badge-widget { visibility: hidden; } /* YouTube player lite can load video lazily */ article.yt-lite { visibility: hidden; }