-
Hi! Migrated to the new gatsby image before launching an ecommerce and found some issues with styling new GatsbyImage. Goal is to do a simple height: '100%', on the wrapper, and objectFit: 'contain' on the img. Tried variations of: The blur appears once height: '100%', is introduced to the wrapper or display: flex is given to the wrappers parent. I know query height can be used but what happens if the containers height is dynamic on breakpoints etc which is often the case. If anyone have any suggestions we'r all eyes 🙇 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Was missing |
Beta Was this translation helpful? Give feedback.
Was missing
gatsby-plugin-image
in gatsby-config = 🧠 🥇