From 3cf3f3e914689988a0458bca3540da0fe9e7598b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 1 Apr 2016 00:33:27 -0700 Subject: [PATCH] Fix defining # columns --- src/layouts/partial-cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/partial-cards.js b/src/layouts/partial-cards.js index e3ef2c7f0a..54db3d415b 100644 --- a/src/layouts/partial-cards.js +++ b/src/layouts/partial-cards.js @@ -117,7 +117,7 @@ export default new Polymer({ windowChange() { const matchColumns = this.mqls.reduce((cols, mql) => cols + mql.matches, 0); - this.columns = Math.max(1, matchColumns - this.showMenu); + this.columns = Math.max(1, matchColumns - !this.narrow); }, // When user changes tab by pressing back button, blur former tab