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/boards/boardBody.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/components/boards/boardBody.js') diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index a601bc2e..aa55baad 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -57,6 +57,10 @@ BlazeComponent.extendComponent({ return currentCard && currentCard.listId === listId; }, + onlyShowCurrentCard() { + return Utils.isMiniScreen() && Session.get('currentCard'); + }, + events() { return [{ // XXX The board-overlay div should probably be moved to the parent -- cgit v1.2.3-1-g7c22