Skip to content

Commit

Permalink
swap block to prose figure
Browse files Browse the repository at this point in the history
and remove height= to get aspect ratio back
  • Loading branch information
agurvich committed Nov 20, 2023
1 parent 0ae6c10 commit 76b6d49
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions stories/theme.AQ_.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,16 @@ import contentArray from './theme.AQ_.introduction_air_quality/carousel_content.
</Block>

<Block>
<Figure>
<Image
height="200"
width="200 !important"
src={new URL('./theme.AQ_.introduction_air_quality/air_quality_ozone_hole_200x200.png', import.meta.url).href}
alt='rainbow colormap image of the hole in the ozone layer above the arctic.'
/>
<Caption>
<Prose>
### DID YOU KNOW?
The ozone hole is primarily caused by human-produced chemicals like chlorofluorocarbons (CFCs), which were banned by an international treaty in 1989 to protect our natural sunscreen. Modern global warming is driven by greenhouse gases like carbon dioxide (CO2) and is primarily linked to the burning of fossil fuels.
</Caption>
</Figure>
</Prose>
<Figure>
<Image
src={new URL('./theme.AQ_.introduction_air_quality/air_quality_ozone_hole_200x200.png', import.meta.url).href}
alt='rainbow colormap image of the hole in the ozone layer above the arctic.'
/>
</Figure>
</Block>

<Block type='wide'>
Expand Down

0 comments on commit 76b6d49

Please sign in to comment.