summaryrefslogtreecommitdiffstats
path: root/client/components/main/layouts.styl
diff options
context:
space:
mode:
authorLiming Xie <liming.xie@gmail.com>2015-12-17 14:23:35 +0800
committerLiming Xie <liming.xie@gmail.com>2015-12-17 14:23:35 +0800
commit354eff9f7bf550f83d55ef2e96b10aab1a70162d (patch)
tree34cba5531d56d4ca51ed5346a5f26e480c4a33c7 /client/components/main/layouts.styl
parent0954cff5b470712210275a9c0699d85d6579ab54 (diff)
downloadwekan-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.styl12
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