Reputation: 2438
This is the structure of the episode box. display: flex
is applied to the div with the class of episode.
The h2 is not expanding to change its parent's width on Safari? Any reasons why?
Here is the code, simple PostCSS with nesting and auto-prefixing: https://gist.github.com/Connorelsea/897cf41f7b9e43bdce43
Rendered on Safari:
Rendered on Firefox:
Upvotes: 1
Views: 1159
Reputation: 130
This has been fixed in Safari 10.0.1. Seems this was a bug in older versions of Safari (v9) and how they handle flexbox.
Upvotes: 1
Reputation: 668
I think, that your problem is the Cross-Browser-Support for CSS-Flexbox
Try this (should work in all browsers)
.foo {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
}
(Ofc with the right options)
Upvotes: 0