dejanstojanovic / Facebook-Album-Browser

jQuery plugin for browsing public albums of a Facebook account
http://dejanstojanovic.github.io/Facebook-Album-Browser/
MIT License
74 stars 42 forks source link

Problem of displaying in Safari #55

Open orso081980 opened 7 years ago

orso081980 commented 7 years ago

Good morning Dejan, I'm working with your app and it's fantastic. Very easy to use, free, customizable.. Just fantastic. The only problem that I've had so far is that my picture are weirdly display in Safari. I'm trying to fix it but I haven't understood if the problem is in the css or in the javascript. Essentially it's a style problem: Here's my link:

http://christmascheerbarrie.com

As you can notice the picture are display differently: in chrome the picture are aligned, in safari some of them are not.

Any suggestion?

Thank you in advance for your help

orso081980 commented 7 years ago

Actually I solved. In my style I changed the img in this way:

.fb-album-container img { height: initial; max-width: initial; vertical-align: middle; }

to

.fb-album-container img { height: 173px; max-width: initial; vertical-align: middle; }

So the problem was that I set an initial width, which is fine in chrome, but it doesn't work in safari that requires a fix width I guess