diff options
author | Liming Xie <liming.xie@gmail.com> | 2015-12-17 14:23:35 +0800 |
---|---|---|
committer | Liming Xie <liming.xie@gmail.com> | 2015-12-17 14:23:35 +0800 |
commit | 354eff9f7bf550f83d55ef2e96b10aab1a70162d (patch) | |
tree | 34cba5531d56d4ca51ed5346a5f26e480c4a33c7 /client/components/main/layouts.styl | |
parent | 0954cff5b470712210275a9c0699d85d6579ab54 (diff) | |
download | wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.gz wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.bz2 wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.zip |
add: support compact mode for mobile web, auto adapt to small screen/window
Diffstat (limited to 'client/components/main/layouts.styl')
-rw-r--r-- | client/components/main/layouts.styl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl index 0e50dd55..b364d91b 100644 --- a/client/components/main/layouts.styl +++ b/client/components/main/layouts.styl @@ -355,3 +355,15 @@ a @keyframes flexGrowIn from flex-basis: 0 + +@media screen and (max-width: 800px) + #content + margin: 1px 0px 49px 0px + height: calc(100% - 96px) + + > .wrapper + margin-top: 0px + + .wrapper + height: 100% + margin: 0px |