diff options
| author | Romain Derie <rde@odoo.com> | 2020-01-09 12:09:40 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-02-03 15:25:20 +0000 |
| commit | b3ffb756a23ad72df5c34e7907d87e11ec45c038 (patch) | |
| tree | 1dae7e5d376955ba1013987cc42b0cdf4b620dec | |
| parent | 1ecdb5b6b83ccd4e2c6cddd5e794d438c65317da (diff) | |
[IMP] web: restore blockquote style lost with BS4
Before this commit, the web_editor option 'Style' which has a `Quote` entry
would not do anything visually.
Indeed, what it does is inserting a `<blockquote/>` element in the DOM but is
has no style anymore in BS4.
This commit restore the style we had with BS3.
task-2144335
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.common.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss index f07bc344764..fae52f13a52 100644 --- a/addons/web_editor/static/src/scss/web_editor.common.scss +++ b/addons/web_editor/static/src/scss/web_editor.common.scss @@ -506,3 +506,11 @@ a.o_underline { } } } + +// BS4 blockquote has no style anymore, except bloquote <footer> +blockquote { + padding: 0.5rem 1rem; + margin-bottom: 1rem; + border-left: 5px solid $gray-300; + font-style: italic +} |
