diff options
| author | Romain Estievenart <res@odoo.com> | 2019-09-19 09:46:52 +0000 |
|---|---|---|
| committer | Romain Estievenart <res@odoo.com> | 2019-09-24 10:05:47 +0000 |
| commit | 65c8d33c2922bd90e2755cff0a6751c8b3b130d8 (patch) | |
| tree | fdcb8adfe2c978779922fa650ea87ba46fec0a84 | |
| parent | 90e58efebac61a703fc5006cb49e597ae918332f (diff) | |
[FIX] web_editor: make toolbar scrollable in note on mobile
Before this commit, the web_editor toolbar wasn't horizontally scrollable
and part ot the items were out of the screen area.
To fix this, we have to revert back the initial position on some elements.
| -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 d4ad43d6a89..113d380e77a 100644 --- a/addons/web_editor/static/src/scss/web_editor.common.scss +++ b/addons/web_editor/static/src/scss/web_editor.common.scss @@ -403,6 +403,14 @@ a.o_underline { } @include media-breakpoint-down(sm) { + odoo-wysiwyg-container { + .panel-heading.note-toolbar { + overflow-x: auto; + } + .btn-group { + position: static; + } + } // modal select media .o_technical_modal { // see template 'web_editor.FieldTextHtml.fullscreen' |
