summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-12-17 07:29:46 +0100
committerMaxime Quandalle <maxime@quandalle.com>2015-12-17 07:29:46 +0100
commitd6f1e6113048f349060a9a49268a8e18faada04b (patch)
tree887d73d51fc11be2ef2425ab7752ea0b91efb86e /client/components/boards/boardBody.js
parent15245a9055feef9c45d14931db9d46e16b699258 (diff)
parent354eff9f7bf550f83d55ef2e96b10aab1a70162d (diff)
downloadwekan-d6f1e6113048f349060a9a49268a8e18faada04b.tar.gz
wekan-d6f1e6113048f349060a9a49268a8e18faada04b.tar.bz2
wekan-d6f1e6113048f349060a9a49268a8e18faada04b.zip
Merge pull request #442 from floatinghotpot/mobile-web
This PR improves the UI on devices or windows with small screens. Fixes #75 Fixes #437
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r--client/components/boards/boardBody.js4
1 files changed, 4 insertions, 0 deletions
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