From 354eff9f7bf550f83d55ef2e96b10aab1a70162d Mon Sep 17 00:00:00 2001 From: Liming Xie Date: Thu, 17 Dec 2015 14:23:35 +0800 Subject: add: support compact mode for mobile web, auto adapt to small screen/window --- client/components/cards/minicard.styl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'client/components/cards/minicard.styl') 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) -- cgit v1.2.3-1-g7c22