From 87ebcf7d007a14577aacaceb278b674b3ee6c6dc Mon Sep 17 00:00:00 2001 From: Mike Mitterer Date: Tue, 7 Apr 2015 19:26:52 +0200 Subject: [PATCH] Demo-Shadow card width did not fit on mobile --- src/shadow/demo.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/shadow/demo.scss b/src/shadow/demo.scss index 71a40612..c1a45109 100644 --- a/src/shadow/demo.scss +++ b/src/shadow/demo.scss @@ -8,8 +8,13 @@ border-radius : 2px; display : block; height : 300px; - margin : 20px; + margin-bottom : 20px; + transition-property: opacity, transform; @include material-animation-default(300ms); width : 300px; + + @media screen and (max-width: 360px ) { + width: 272px; + } }