react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

fix: remove height in CSS to make avatar resizable

Open pgerlach opened this issue 2 years ago • 1 comments

In the page "Learn" / "JavaScript in JSX with Curly Braces" in the last challenge, we're told to check if our fix worked by "changing the value of imageSize to 'b'. The image should resize after your edit.". However, the height of the avatar is fixed to 90px in the CSS, so changing the size of the base image doesn't make any visual difference.

I removed the height CSS attribute so that the exemple works as intended.

pgerlach avatar Feb 10 '23 17:02 pgerlach

Size Changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

This PR introduced no changes to the javascript bundle 🙌

github-actions[bot] avatar Feb 10 '23 17:02 github-actions[bot]