add: support compact mode for mobile web, auto adapt to small screen/window

This commit is contained in:
Liming Xie 2015-12-17 14:23:35 +08:00
parent 0954cff5b4
commit 354eff9f7b
23 changed files with 436 additions and 131 deletions

View file

@ -48,7 +48,7 @@ BlazeComponent.extendComponent({
},
onRendered() {
this.scrollParentContainer();
if (!Utils.isMiniScreen()) this.scrollParentContainer();
},
onDestroyed() {