[FIX] website: mobile snippets height
authorChristophe Matthieu <chm@openerp.com>
Tue, 14 Jan 2014 15:12:43 +0000 (16:12 +0100)
committerChristophe Matthieu <chm@openerp.com>
Tue, 14 Jan 2014 15:12:43 +0000 (16:12 +0100)
bzr revid: chm@openerp.com-20140114151243-u1rjzw0exhskukbx

addons/website/static/src/css/website.css
addons/website/static/src/css/website.sass

index ca59f4c..9092b34 100644 (file)
@@ -1,3 +1,4 @@
+@charset "utf-8";
 /*       THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY
  *
  * css for editor buttons, openerp widget included in the website and other
@@ -334,10 +335,15 @@ ul.nav-stacked > li > a {
 }
 
 /* ---- SNIPPETS --- */
-[data-snippet-id],.colmd,.hr,.blockquote {
-    overflow: hidden;
+[data-snippet-id], .colmd, .hr, .blockquote {
+  overflow: hidden;
 }
 
+@media (max-width: 400px) {
+  [data-snippet-id] {
+    height: auto !important;
+  }
+}
 .carousel-inner {
   height: 100%;
 }
@@ -345,6 +351,7 @@ ul.nav-stacked > li > a {
   height: 100%;
   background-size: 100%;
 }
+
 .carousel .carousel-caption {
   left: auto;
   right: auto;
index ab13d79..ec79845 100644 (file)
@@ -245,6 +245,10 @@ ul.nav-stacked > li > a
 [data-snippet-id],.colmd,.hr,.blockquote
     overflow: hidden
 
+@media (max-width: 400px)
+    [data-snippet-id]
+        height: auto !important
+
 .carousel-inner
     height: 100%
     .item