summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-03-17 14:51:44 +0100
committerXavier Morel <xmo@openerp.com>2014-03-17 14:51:44 +0100
commitcd4f83122ac61d44eeb45840aa6a2ec251ed9033 (patch)
tree4a30068c119656b774ee00de1b60ef48d4dce0ac /addons/website/static/src/css
parent25732de9cebc92fc4ccb231c8ad073a16b6035f6 (diff)
[FIX] reduce span of paragraph spacer thing to not break layout
bzr revid: xmo@openerp.com-20140317135144-hvuxshfp4cjudnbh
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css2
-rw-r--r--addons/website/static/src/css/website.sass6
2 files changed, 4 insertions, 4 deletions
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 ----- */