Skip to content

Avoid using aspect-ratio CSS property #665

Avoid using aspect-ratio CSS property

Avoid using aspect-ratio CSS property #665

Triggered via push August 13, 2026 11:37
Status Failure
Total duration 1m 42s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
build
Process completed with exit code 1.
build
Process completed with exit code 1.
src/documentation/common/DocumentationContent.test.tsx > DocumentationContent > renders images: src/documentation/common/DocumentationContent.test.tsx#L60
Error: Snapshot `DocumentationContent > renders images 1` mismatched Expected: ""<div class="d_flex flex-d_column gap_3 mt_3"><img src="https://cdn.sanity.io/images/project/dataset/9fccaf51a164fedc98662188593de19bfb9be8ad-435x512.png?w=300&amp;q=80&amp;fit=max&amp;auto=format" alt="micro:bit showing X axis going across the front, Y axis going down and up, Z axis going back to front" class="max-w_100% w_300px bdr_lg bd_solid_1px bd-c_gray.300"></div>"" Received: ""<div class="d_flex flex-d_column gap_3 mt_3"><div class="w_300px max-w_100% pos_relative before:content_&quot;&quot; before:d_block before:h_0 before:pb_var(--aspect-ratio-padding) [&amp;_>_*]:pos_absolute [&amp;_>_*]:inset_0 [&amp;_>_*]:w_100% [&amp;_>_*]:h_100%" style="--aspect-ratio-padding: 117.70114942528735%;"><img src="https://cdn.sanity.io/images/project/dataset/9fccaf51a164fedc98662188593de19bfb9be8ad-435x512.png?w=300&amp;q=80&amp;fit=max&amp;auto=format" alt="micro:bit showing X axis going across the front, Y axis going down and up, Z axis going back to front" class="max-w_100% bdr_lg bd_solid_1px bd-c_gray.300"></div></div>"" ❯ src/documentation/common/DocumentationContent.test.tsx:60:38
build
No files were found with the provided path: reports/. No artifacts will be uploaded.