diff --git a/addons/website/static/src/scss/website.edit_mode.scss b/addons/website/static/src/scss/website.edit_mode.scss index c076b050fd0..dc843fd148f 100644 --- a/addons/website/static/src/scss/website.edit_mode.scss +++ b/addons/website/static/src/scss/website.edit_mode.scss @@ -65,6 +65,13 @@ $-editor-messages-margin-x: 2%; .editor_enable [data-oe-readonly]:hover { cursor: default; } +.oe_structure_solo > .oe_drop_zone { + // TODO implement something more robust. This is currently for our only + // use case of oe_structure_solo: the footer. The dropzone in there need to + // be 1px lower that the end-of-page dropzone to distinguish them. The + // usability has to be reviewed anyway. + transform: translateY(10px); // For some reason "1px" is not enough... +} /* Prevent the text contents of draggable elements from being selectable. */ [draggable] { diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index efbee970b0e..78334459a4d 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -144,12 +144,6 @@ $-header-nav-link-height: $nav-link-height; @if color('footer') { @include o-bg-color(color('footer')); } - - > #footer { - // FIXME needed to prevent the dropzone at the bottom of the #wrap element - // to be at the same place of the dropzone at the top of the #footer element - border-top: 1px solid transparent; - } } h2, h3, h4, h5, h6 { color: color('h2');