From 354eff9f7bf550f83d55ef2e96b10aab1a70162d Mon Sep 17 00:00:00 2001 From: Liming Xie Date: Thu, 17 Dec 2015 14:23:35 +0800 Subject: add: support compact mode for mobile web, auto adapt to small screen/window --- client/components/cards/cardDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards/cardDetails.js') diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index b4fdca52..ea1363b5 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -48,7 +48,7 @@ BlazeComponent.extendComponent({ }, onRendered() { - this.scrollParentContainer(); + if (!Utils.isMiniScreen()) this.scrollParentContainer(); }, onDestroyed() { -- cgit v1.2.3-1-g7c22