Skip to content

Commit

Permalink
[FIX] project_todo: display only one scrollbar in todo
Browse files Browse the repository at this point in the history
Issue:
=====
double scrollbar appears in notes.

Steps to reproduce the issue:
=============================
- Go to notes
- Insert a table
- Add some columns and try to stretch the last one to the right until it
  goes outside the width of the editable.
- Click on the last cell to the right in the table and scroll left
- Another scrollbar will appear.

Origin of the issue:
====================
The part of the table that is invisible in the editor is considered as
overflow for the `html_field` so it will show a scrollbar which is not
needed since we already have a scrollbar in the edtibale.

Solution:
=========
We mark hide the overflow in `html_field` and let the editable takes
care of the overflow.

task-3721794

closes #160674

X-original-commit: 1bca63a
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
  • Loading branch information
Mtaylorr committed Apr 8, 2024
1 parent 7b733f1 commit c98c583
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/project_todo/static/src/scss/todo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
padding: $o-sheet-vpadding $o-horizontal-padding;
}
}

.oe_description {
overflow-x: hidden;
}
}
.o_todo_kanban_card_body {
padding-left: 9px;
Expand Down

0 comments on commit c98c583

Please sign in to comment.