[css] set 100% width/height on image from idownloadable primary view
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 19 Jul 2010 10:51:23 +0200
changeset 5991 39d031ee4af3
parent 5990 6f3c77c79a88
child 5992 5f9a9086c171
[css] set 100% width/height on image from idownloadable primary view
web/data/cubicweb.css
--- a/web/data/cubicweb.css	Mon Jul 19 10:13:01 2010 +0200
+++ b/web/data/cubicweb.css	Mon Jul 19 10:51:23 2010 +0200
@@ -91,7 +91,7 @@
 }
 
 ul {
-   margin-bottom: %(defaultLineHeightEm)s;
+  margin-bottom: %(defaultLineHeightEm)s;
 }
 
 ol {
@@ -114,7 +114,12 @@
 }
 
 img{
- border: none;
+  border: none;
+}
+
+img.contentimage {
+  width: 100%;
+  height: 100%;
 }
 
 fieldset {