summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/list_view.scss
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2019-12-19 13:26:06 +0000
committerAdrien Dieudonne <adr@odoo.com>2019-12-19 16:46:14 +0000
commit4e2fb178ce7d78dc680148429a4b2512dce2d1c4 (patch)
tree9c1d9e0a43b1f84bf5e253e6f9865a374038df61 /addons/web/static/src/scss/list_view.scss
parentd255bdbfaccd2f33897c83ff4507f7a48f0bf686 (diff)
[FIX] web: too small tap area for optional columns dropdown on mobile
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) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss/list_view.scss')
-rw-r--r--addons/web/static/src/scss/list_view.scss2
1 files changed, 1 insertions, 1 deletions
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