Skip to content

How do I keep the height and width in a 4/3 ratio? #1481

Answered by rtivital
faruuhan asked this question in Q&A
Discussion options

You must be logged in to vote

AspectRatio will not work well in this case – Image wraps img tag with additional elements, you should customize Image with styles API instead or use img tag.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rtivital
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants