From 0f0fc727da3da4c221811e044fc1c5519f185f06 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Fri, 7 Jul 2023 13:35:50 +0000 Subject: [PATCH] [FIX] project_todo: fix input height and reduce notepad padding This commit aims to give the same height to both `o_field_many2many_tags` and `o_field_many2many_avatar_user` when side by side. To remove some visual clutter inside the inputs, we've removed the input's line (and the caret; without the line it seemed to be floating). The padding in the notepad area (`.o_form_sheet`) has been reduced. Note that this commit does not fix the status bar issue which should be done in a separate commit. task-3420954 part of task-3326263 closes odoo/odoo#129630 X-original-commit: bf3fc5dc76d4cea224255149c8a71b42c37b7d48 Signed-off-by: Pierre Paridans (app) --- addons/project_todo/static/src/scss/todo.scss | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/addons/project_todo/static/src/scss/todo.scss b/addons/project_todo/static/src/scss/todo.scss index ba6fb0291c7..ba9e33c8ca6 100644 --- a/addons/project_todo/static/src/scss/todo.scss +++ b/addons/project_todo/static/src/scss/todo.scss @@ -1,16 +1,27 @@ .o_todo_form_view { .o_form_sheet_bg { - display: flex; - flex-direction: column; .o_form_statusbar { margin: 0; - .o_field_widget { - align-self: center !important; + + .o_field_many2many_tags, + .o_field_many2many_avatar_user { + display: flex; + align-items: center; + margin-bottom: 0; + } + + .o_input { + border: none; + } + + .o_dropdown_button { + display: none; } } + .o_form_sheet { flex: 1; - max-width: 100%; + .oe_pad { flex: 1; margin-bottom: 0; @@ -27,7 +38,6 @@ } .o_field_html .note-editable { border: none !important; - padding: $o-sheet-vpadding $o-horizontal-padding 10px !important; min-height: 300px; } }