diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-11-17 16:42:22 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-11-17 17:24:08 +0100 |
| commit | 18e1ecd019c0be8c5cb2739de5d5a45b8be92bbb (patch) | |
| tree | cb2400e2519dbda8439e869687454e1b03583cd0 /addons/website/static/src | |
| parent | 13dc7041a6b47bbcc703b855044f41321145c7ab (diff) | |
[FIX] website: stop making parallax content disappear on save
Depending on the context, the s_parallax snippet content was not
showing after save. This was because the HTML is prettyfied on save
and so spaces are inserted around the .oe_structure, making it break
over the next line.
This commit removed the vertical middle alignment of the .oe_structure
block (so back like it was before v10.0), allowing to fix the problem.
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/less/website.snippets.less | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/addons/website/static/src/less/website.snippets.less b/addons/website/static/src/less/website.snippets.less index fd8a4d5073d..7b941acda2f 100644 --- a/addons/website/static/src/less/website.snippets.less +++ b/addons/website/static/src/less/website.snippets.less @@ -406,21 +406,6 @@ div.carousel { .s_parallax { min-height: 200px; - - > .oe_structure { - display: inline-block; - width: 100%; - vertical-align: middle; - } - - &::before { - content: ""; - display: inline-block; - width: 0; - min-height: inherit; - height: 100%; - vertical-align: middle; - } } .s_big_message { // TO REMOVE IN MASTER > 10.0 |
