[css] do not use display:block for all images, but only for rest generated stable cubicweb-version-3.14.8
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Wed, 23 May 2012 12:27:43 +0200
branchstable
changeset 8422 15fe07ff6872
parent 8421 9ad4d3efeb8e
child 8423 81394043ad22
[css] do not use display:block for all images, but only for rest generated
web/data/cubicweb.css
web/data/cubicweb.old.css
--- a/web/data/cubicweb.css	Wed May 23 11:43:11 2012 +0200
+++ b/web/data/cubicweb.css	Wed May 23 12:27:43 2012 +0200
@@ -116,7 +116,6 @@
 
 img {
   border: none;
-  display: block;
 }
 
 
@@ -983,16 +982,19 @@
 
 img.align-right {
   margin-left: auto;
+  display:block;
 }
 
 img.align-left {
   margin-right: auto;
+  display:block;
 }
 
 img.align-center{
   text-align: center;
   margin-left: auto;
   margin-right: auto;
+  display:block;
 }
 
 /******************************/
--- a/web/data/cubicweb.old.css	Wed May 23 11:43:11 2012 +0200
+++ b/web/data/cubicweb.old.css	Wed May 23 12:27:43 2012 +0200
@@ -70,7 +70,6 @@
 
 img{
   border: none;
-  display:block;
 }
 
 img.prevnext {
@@ -242,16 +241,19 @@
 
 img.align-right {
   margin-left: auto;
+  display:block;
 }
 
 img.align-left {
   margin-right: auto;
+  display:block;
 }
 
 img.align-center{
   text-align: center;
   margin-left: auto;
   margin-right: auto;
+  display:block;
 }