[FIX] website: bad css (+remove a wrong js line)
authorChristophe Matthieu <chm@openerp.com>
Tue, 10 Dec 2013 10:56:37 +0000 (11:56 +0100)
committerChristophe Matthieu <chm@openerp.com>
Tue, 10 Dec 2013 10:56:37 +0000 (11:56 +0100)
bzr revid: chm@openerp.com-20131210105637-uebvqry67urydl0n

addons/website/static/src/css/website.css
addons/website/static/src/css/website.sass
addons/website/static/src/js/website.snippets.editor.js

index 9a65418..6cf3cd9 100644 (file)
@@ -199,12 +199,11 @@ html, body, #wrapwrap {
 }
 
 #wrapwrap {
-  display: table;
   width: 100%;
 }
 
 header, #wrap, footer {
-  display: table-row;
+  margin: 0 auto;
 }
 
 footer {
index d498cdb..fb905fd 100644 (file)
@@ -124,11 +124,10 @@ html,body, #wrapwrap
     height: 100%
 
 #wrapwrap
-    display: table
     width: 100%
 
 header, #wrap, footer
-    display: table-row
+    margin: 0 auto
 
 footer
     height: 100%
index e605bba..16e76ee 100644 (file)
             this._super();
             this.$target.css("background-image", "");
             this.$target.removeClass(this._class);
-            this.$target.find('.content, .carousel-image img').attr('contentEditable', 'true');
         },
         start : function () {
             var self = this;