Skip to content

Commit

Permalink
Merge pull request #106 from NASA-IMPACT/hyperweb-embed
Browse files Browse the repository at this point in the history
HOTFIX: replace height calculation
  • Loading branch information
agurvich authored Apr 3, 2024
2 parents 43f705a + 8d97b07 commit a547f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stories/locfeature.HYPER.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ import contentArray from './locfeature.HYPER/carousel_content.json';
<Embed
style={{
width:"100%",
height:"calc(95vw * 9/32)"
height:"calc(((100vw - 48px) * 0.28) + 64px)",
maxHeight:"calc(((1375px - 48px) * 0.28) + 80px)",
}}
src="https://svs.gsfc.nasa.gov/webapps/hyperweb/index.html" />
</Figure>
Expand Down

0 comments on commit a547f34

Please sign in to comment.