Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content filling on Safari #233

Open
fostersmix opened this issue Feb 15, 2017 · 3 comments
Open

Content filling on Safari #233

fostersmix opened this issue Feb 15, 2017 · 3 comments

Comments

@fostersmix
Copy link

fostersmix commented Feb 15, 2017

Hello! When i using Auto Width:

<div class="row center-xs center-sm center-md center-lg"> 
      <div class="col-xs col-sm col-md col-lg">
        <div class="box top bottom">1</div>
      </div>
      <div class="col-xs col-sm col-md col-lg">
        <div class="box top bottom">2</div>
      </div>
</div>

In Chrome, Firefox, Vivaldi and android devices, all ok - content is transferred as filling:
screenshot at 15 15-23-31

But in Safari (om MacOS), displayed content in one row and add horizontal scroll:
screenshot at 15 15-27-25

How can I fix it?

@Rosenblad
Copy link

I'm guessing it's related to either the flex-wrap or flex-shrink/basis/grow. I'm pretty sure I've made a fix for this in a private fork but can't remember what the issue was from the top of my head. Could you maybe provide a link to your source code?

@fostersmix
Copy link
Author

Source code on page: http://fostersmix.github.io/

@Rosenblad
Copy link

Solved by putting flex-basis: auto; on col-lg. 11. Flexbugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants