Skip to content

Commit ae5de38

Browse files
Prevent layout shift on image load (#344)
1 parent 0b40a2e commit ae5de38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tours.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const LiveGraphStep = () => {
2727
src={accelerometerImage}
2828
w="150px"
2929
aspectRatio={500 / 482}
30+
flexShrink={0}
3031
alt={intl.formatMessage({ id: "accelerometer-image-alt" })}
3132
/>
3233
</HStack>

0 commit comments

Comments
 (0)