From 8b5fd09ff35dd670bcc83d26feec47e361310cc3 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sat, 2 Jan 2016 14:26:48 +0100 Subject: 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 --- client/components/cards/attachments.styl | 2 ++ client/components/cards/minicard.styl | 2 ++ 2 files changed, 4 insertions(+) (limited to 'client/components/cards') diff --git a/client/components/cards/attachments.styl b/client/components/cards/attachments.styl index a582f3af..f322ebc8 100644 --- a/client/components/cards/attachments.styl +++ b/client/components/cards/attachments.styl @@ -1,3 +1,5 @@ +@import 'nib' + .attachments-galery display: flex flex-wrap: wrap 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 -- cgit v1.2.3-1-g7c22