diff options
Diffstat (limited to 'addons/website/static/src/css/website.sass')
| -rw-r--r-- | addons/website/static/src/css/website.sass | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index e08d5c1dbe3..44afd627214 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -68,6 +68,12 @@ header img 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 + content: '\2060' + /* ----- Snippets Styles ----- */ .readable @@ -78,11 +84,9 @@ header /* ----- EDITOR ----- */ - .css_non_editable_mode_hidden display: none - /* ----- BOOTSTRAP FIX ----- */ .container, .readable @@ -180,7 +184,6 @@ footer /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal overflow: hidden - overflow-y: hidden ul.nav-stacked > li > a padding: 2px 15px |
