This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 501
Firefox doesn't apply flex-basis if children have larger image #41
Comments
hm, try this i had to set a |
This also fixed a similar issue in Chrome 57.0.2987.98 (64-bit). |
I think this issue has been resolved. Feel free to comment if there's more to discuss. |
child's css: if child's width large than 100px, the limit not works, needs to set "width: 100px" to fix.... In firefox 52 esr, width: 100px not works also. |
markhepburn
added a commit
to IMASau/Seamap
that referenced
this issue
Feb 13, 2018
Closes SM-108. See philipwalton/flexbugs#41 (I was using width:0 though, which didn't seem to work on firefox)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a flex element has a child img that is larger than itself, flex-basis is ignored. Better illustrated:
http://jsfiddle.net/walidvb/hsm77su5/7/
The workaround i found was to not use flex-basis, but width instead(which kind of defeats the whole purpose.)
The text was updated successfully, but these errors were encountered: