You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go to Products, choose a product, and click one of the media items, in Firefox it ends up completely collapsed.
Expected behavior
I expect it to work like Chrome/Chromium, and show the image.
Actual behavior
In Firefox, the image doesn't show. I'm not sure exactly why, but I suspect it's because the image is under a div with width: fit-content, but the image has width: 100%, making the parent and child sizes each depend on one-another. If I change the div width to be 100%, it works, and if I change the img tag's width to be a pixel size, it also works.
This is a side-by-side comparison of Firefox and Chromium on the same view:
Link to reproduction repo
N/A (this works in a vanilla npx create-medusa-app@latest project)
The text was updated successfully, but these errors were encountered:
Package.json file
Node.js version
v22.11.0
Database and its version
PostgreSQL 17.1
Operating system name and version
Fedora Linux 41
Browser name
Firefox
What happended?
When I go to Products, choose a product, and click one of the media items, in Firefox it ends up completely collapsed.
Expected behavior
I expect it to work like Chrome/Chromium, and show the image.
Actual behavior
In Firefox, the image doesn't show. I'm not sure exactly why, but I suspect it's because the image is under a div with
width: fit-content
, but the image haswidth: 100%
, making the parent and child sizes each depend on one-another. If I change the div width to be 100%, it works, and if I change the img tag's width to be a pixel size, it also works.This is a side-by-side comparison of Firefox and Chromium on the same view:
Link to reproduction repo
N/A (this works in a vanilla
npx create-medusa-app@latest
project)The text was updated successfully, but these errors were encountered: