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/cards/minicard.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/cards/minicard.styl')
-rw-r--r-- | client/components/cards/minicard.styl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index 47d160f4..edef8657 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -136,3 +136,12 @@ min-height: 36px margin-bottom: 20px overflow-y: auto + +@media screen and (max-width: 800px) + .minicard + .is-selected & + transform: translateX(0px) + border-bottom-right-radius: 0 + border-top-right-radius: 0 + z-index: 15 + box-shadow: 0 1px 2px rgba(0,0,0,.15) |