podman-desktop/website-argos/screenshot.css
Florent Benoit 64935c23cd chore(argos): remove mermaid diagram from screenshot
on PR check, argos ci is failing almost all the time
it's about the mermaid diagram that has different rendering

the diagram was already excluded in the css but it looks like
that it was not excluded in fact, adding new entry in the css

fixes https://github.com/podman-desktop/podman-desktop/issues/15875
Signed-off-by: Florent Benoit <[email protected]>
2026-02-11 14:57:24 +01:00

33 lines
1,003 B
CSS

/* Iframes can load lazily */
iframe,
/* Avatars 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 */
.theme-last-updated,
/* Mermaid diagrams are rendered client-side and produce layout shifts */
.docusaurus-mermaid-container,
/* Mermaid.ink external images can change between renders */
img[src*='mermaid.ink'] {
display: none;
}
/* Hide the video element that usually contains 'loading' spinner */
video {
visibility: hidden;
height: 0px !important;
width: 0px !important;
}
/* Hide the GitHub stars badge, since this dynamically changes, it would create false errors in Argos */
#github-stars-button {
visibility: hidden;
}