Avoid using aspect-ratio CSS property #665
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&q=80&fit=max&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_"" before:d_block before:h_0 before:pb_var(--aspect-ratio-padding) [&_>_*]:pos_absolute [&_>_*]:inset_0 [&_>_*]:w_100% [&_>_*]:h_100%" style="--aspect-ratio-padding: 117.70114942528735%;"><img src="https://cdn.sanity.io/images/project/dataset/9fccaf51a164fedc98662188593de19bfb9be8ad-435x512.png?w=300&q=80&fit=max&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.
|