summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-10-02 16:45:54 +0200
committerXavier Morel <xmo@openerp.com>2013-10-02 16:45:54 +0200
commit400ffb7f07c512a983859dadc7fea00f0ec1be5c (patch)
treeab4102d6f376539a88d7b4b28698f308f30a664f /addons/website/static/src
parent7d7cbce6fd8c30986f5dee3002e63080a58ece59 (diff)
[FIX] disable relative positioning of cke widget wrapper
It's only used to be able to position the drag & drop widget absolutely, and we've already disabled that one. Product page is a gory mess of absolute positioning, if product images are changed into a t-field the relative positioning on the wrapper makes the image itself disappear completely. bzr revid: xmo@openerp.com-20131002144554-1rg4zmwu0btf0r0f
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/css/editor.css4
-rw-r--r--addons/website/static/src/css/editor.sass4
2 files changed, 8 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index 51ed40bcf42..b77e900d9f2 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -154,6 +154,10 @@ table.editorbar-panel td.selected {
margin-bottom: 0.5em;
}
+.cke_widget_wrapper {
+ position: static !important;
+}
+
.cke_widget_drag_handler_container {
display: none !important;
}
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index e74c81932a4..4f962f02151 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -129,6 +129,10 @@ table.editorbar-panel
.modal .image-preview
margin-bottom: 0.5em
+// wrapper positioned relatively for drag&drop widget which is disabled below.
+// Breaks completely horribly crazy products listing page, so take it out.
+.cke_widget_wrapper
+ position: static !important
// "remove" drag & drop of CKE widgets
.cke_widget_drag_handler_container
display: none !important