From 4e2fb178ce7d78dc680148429a4b2512dce2d1c4 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Thu, 19 Dec 2019 13:26:06 +0000 Subject: [PATCH] [FIX] web: too small tap area for optional columns dropdown on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, users encountered some difficulties to tap/click on the "optional columns" dropdown in list views. This issue only occured on Chrome: rather annoying to use the mobile app. "width: 10px" was used in inline list view but didn't have any sense in the other case. Worse still, Chrome miscalculated the size of the clickable area by a smaller one. This is due to the fact that we add some padding that exceed 10px. See: https://github.com/odoo/enterprise/commit/2f1320557ec67a741201d73a23a9782ec8f9b3bb# opw-2071605 closes odoo/odoo#42210 X-original-commit: 28b6e9c99c77230dc19808718cd6f6f8aec0db5d Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/scss/list_view.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/scss/list_view.scss b/addons/web/static/src/scss/list_view.scss index c9562df798b..d6237f0e7ee 100644 --- a/addons/web/static/src/scss/list_view.scss +++ b/addons/web/static/src/scss/list_view.scss @@ -300,7 +300,7 @@ .o_optional_columns_dropdown_toggle { cursor: pointer; - width: 10px; + padding: 0 5px; text-align: center; line-height: 30px; z-index: 1; // must be over the resize handle