diff options
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 9 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 9b708057852..7d8b1e609e8 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -106,6 +106,15 @@ content: "Press The Top-Left Edit Button" !important; } +[data-oe-type=html].oe_no_empty:empty:before { + content: "" !important; +} + +[data-oe-type=html].oe_no_empty:empty { + background-image: none !important; + height: 16px !important; +} + /* ---- EDITOR BAR ---- {{{ */ table.editorbar-panel { cursor: pointer; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index b9db2bc5bbb..d39b6abd453 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -86,6 +86,13 @@ .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before content: 'Press The Top-Left Edit Button' !important +[data-oe-type=html].oe_no_empty:empty:before + content: '' !important + +[data-oe-type=html].oe_no_empty:empty + background-image: none !important + height: 16px !important + // }}} /* ---- EDITOR BAR ---- {{{ */ |
