summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.styl
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-02 14:26:48 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-02 14:26:48 +0100
commit8b5fd09ff35dd670bcc83d26feec47e361310cc3 (patch)
tree7a7d1d1c4d79bd081337d32becd0c0ed6765b147 /client/components/cards/minicard.styl
parent0cdcccf1f69b4eacc5c417f11f277bb86a713cdc (diff)
downloadwekan-8b5fd09ff35dd670bcc83d26feec47e361310cc3.tar.gz
wekan-8b5fd09ff35dd670bcc83d26feec47e361310cc3.tar.bz2
wekan-8b5fd09ff35dd670bcc83d26feec47e361310cc3.zip
Fix layout on Apple devices
The layout issue was related to the lack of autoprexing for CSS properties. c69f993 did improve the reload time significantly but for that I had to replace `mquandalle:stylus` by the core `stylus` package. Unfortunatly it is currently difficult to run an autoprefixer with the core CSS compilers (as reported in https://github.com/meteor/meteor/issues/5219). So instead we rely on `nib` which transparently define some mixins for autoprefixing, the only restrictions being that we have to manually `@import 'nib'` on top of stylus files. Fixes #461
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r--client/components/cards/minicard.styl2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index edef8657..3b8c8a9a 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -1,3 +1,5 @@
+@import 'nib'
+
.minicard-wrapper
cursor: pointer
position: relative