Comments (6)
I don't use Safari, so this might take a while.
According to this, Safari does not support unprefixed CSS flexbox, so this might be the source of the problem. It would be also consistent with the symptoms you're seeing.
I'm not sure I want to mess with prefixed CSS definitions, especially since Safari is currently the only browser that does not support unprefixed flexbox. So if the above is true and you really want this project to work in the current version of Safari, feel free to try to fix it and post a pull request.
from rpg-cards.
It is not a big deal for me to have this work in Safari. An easy "patch"
would be to add some sort of message/pop up to Safari users letting them
know that there is a bug with rendering the cards and they can get it to
work by using Chrome or Firefox. I was quite confused/frustrated until I
decided to try RPG Cards in Chrome myself.
On Tue Feb 03 2015 at 4:47:20 AM Robert Autenrieth [email protected]
wrote:
I don't use Safari, so this might take a while.
According to this http://caniuse.com/#feat=flexbox, Safari does not
support unprefixed CSS flexbox, so this might be the source of the problem.
It would be also consistent with the symptoms you're seeing.I'm not sure I want to mess with prefixed CSS definitions, especially
since Safari is currently the only browser that does not support unprefixed
flexbox. So if the above is true and you really want this project to work
in the current version of Safari, feel free to try to fix it and post a
pull request.—
Reply to this email directly or view it on GitHub
#22 (comment).
from rpg-cards.
CSS.supports('flex', '1');
can be used to detect the support for CSS flexbox.
from rpg-cards.
Rather than manually adding the prefixes, it would be more robust to post-process the css file with https://github.com/postcss/autoprefixer.
from rpg-cards.
Thanks for the hint, I will add autoprefixer as a gulp task to the next major version.
@yuvalsapir: As I won't be doing any major development on the current branch, feel free to post a pull request for your quick fix.
from rpg-cards.
Closing as safari now supports flexbox.
from rpg-cards.
Related Issues (20)
- Possibility for italic text HOT 2
- Template Support for Creatures HOT 1
- Is there a Card limit HOT 2
- Card spacing HOT 2
- Freeze when selecting icons HOT 11
- Incompatible with later versions of Node? (ReferenceError: primordials is not defined)
- Icons with the same name are silently overwritten when updated from game-icons.net
- icons.css missing from /generator/css/ HOT 4
- 5.0 x 7.5 HOT 1
- ❤ New mantained fork - custom print sizes and new features
- Generator not working HOT 3
- Formating of generator HOT 1
- More Text Space HOT 3
- background images not appearing when printing
- [Feature request] Add game-icons badges as card icons HOT 1
- Printed single cards with Poker card size do not fill up page HOT 3
- Card Font Size does not work HOT 1
- generating output at letter size produces A4 size page. HOT 1
- Generated page does not save correctly HOT 3
- feature wish: handle back side design as front side design is handled now HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpg-cards.