[MERGE] forward port of branch 8.0 up to ed1c173
[odoo/odoo.git] / addons / website / static / src / css / website.sass
index ba47a12..b9d7dc1 100644 (file)
@@ -99,7 +99,7 @@ header
         margin-right: 0 !important
 
 .css_non_editable_mode_hidden
-    display: none
+    display: none !important
 
 /* ----- BOOTSTRAP FIX ----- */
 
@@ -473,11 +473,14 @@ div.media_iframe_video
     iframe
         width: 100%
         height: 100%
-    div
+        position: absolute
+        margin-left: -50%
+    .css_editable_mode_display
         position: absolute
         width: 100%
         height: 100%
         display: none
+        z-index: 2
 
 /* Mobile view */