From f4031c62f97fa170b74b0d13a0856b7d58ed4da6 Mon Sep 17 00:00:00 2001
From: Romeo Fragomeli <rfr@odoo.com>
Date: Mon, 30 Sep 2019 13:56:01 +0000
Subject: [PATCH] web: kanban more menu is cropped on mobile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This commit removes some historical overflow-x properties needed
for old kanban views.

Steps to reproduce:
* Open Project App
* In kanban view and with one element, click on "more button" (3 dots)
* This menu will be truncated at the end. (BUG)

Task ID: 2058510

closes odoo/odoo#37693

Signed-off-by: Romeo Fragomeli <rfr@odoo.com>
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
---
 addons/web/static/src/scss/kanban_view.scss        | 1 -
 addons/web/static/src/scss/kanban_view_mobile.scss | 1 -
 2 files changed, 2 deletions(-)

diff --git a/addons/web/static/src/scss/kanban_view.scss b/addons/web/static/src/scss/kanban_view.scss
index a5d4f69cac4a..a447528a87f2 100644
--- a/addons/web/static/src/scss/kanban_view.scss
+++ b/addons/web/static/src/scss/kanban_view.scss
@@ -7,7 +7,6 @@
 
     @include media-breakpoint-down(sm) {
         padding: 0px!important;
-        overflow-x: auto;
     }
 
     .o_kanban_record, .o_kanban_quick_create {
diff --git a/addons/web/static/src/scss/kanban_view_mobile.scss b/addons/web/static/src/scss/kanban_view_mobile.scss
index b74ae8aaea50..f05d49b9b5c5 100644
--- a/addons/web/static/src/scss/kanban_view_mobile.scss
+++ b/addons/web/static/src/scss/kanban_view_mobile.scss
@@ -30,7 +30,6 @@
         // [class] to get same specificity as elsewhere (kanban_view.less)
         &[class] .o_kanban_group:not(.o_column_folded) {
             @include o-position-absolute($top: $o-kanban-mobile-tabs-height, $left: 0, $bottom: 0);
-            overflow-x: scroll;
             width: 100%;
             padding: 0;
             margin-left: 0; // override the margin-left: -1px of the desktop mode
-- 
GitLab