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/cardDetails.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/cardDetails.styl')
-rw-r--r-- | client/components/cards/cardDetails.styl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 8d71c54d..4ac0578b 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -94,3 +94,20 @@ input[type="submit"].attachment-add-link-submit margin: 0 0 8px 4px padding: 6px 12px width: 18% + +@media screen and (max-width: 800px) + .card-details + width: calc(100% - 40px) + padding: 0px 20px 0px 20px + margin: 0px + transition: none + + .card-details-canvas + width: 100% + + .card-details-header + .close-card-details + margin-right: 0px + + .card-details-menu + margin-right: 10px |