From 65c8d33c2922bd90e2755cff0a6751c8b3b130d8 Mon Sep 17 00:00:00 2001 From: Romain Estievenart Date: Thu, 19 Sep 2019 09:46:52 +0000 Subject: [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. --- addons/web_editor/static/src/scss/web_editor.common.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'addons/web_editor/static/src/scss/web_editor.common.scss') 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' -- cgit v1.2.3