diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index fd5492c9bc2..dc0628ca3c5 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -102,7 +102,7 @@ header a.navbar-brand img { max-height: 50px; } -div:before, p:before { +#wrapwrap p:empty:after { content: "\2060"; } diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 44afd627214..a15953e0f2b 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -69,9 +69,9 @@ header max-height: 50px // add {WORD JOINER} (equivalent to deprecated ZERO WIDTH NO-BREAK SPACE) at -// the beginning of paragraphs (and divs) so they don't "disappear" after -// saving when used solely for spacing. -div:before, p:before +// the beginning of paragraphs so they don't "disappear" after saving when +// used solely for spacing. +#wrapwrap p:empty:after content: '\2060' /* ----- Snippets Styles ----- */