From cb8dcb5913de3d3067e4ba1ad218dc91c9ef716d Mon Sep 17 00:00:00 2001 From: mgh-odoo Date: Wed, 19 Sep 2018 12:06:56 +0000 Subject: [PATCH] [FIX] web: avoid margin on top of list view in mobile When header was too long, the text was breaking into next line. We want to avoid this behavior in mobile because it causes a big margin on the top of the list view. This issue was probably caused by the upgrade of Bootstrap. task-1878252 closes odoo/odoo#27927 --- addons/web/static/src/scss/list_view.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/web/static/src/scss/list_view.scss b/addons/web/static/src/scss/list_view.scss index eb66526113a..770508ac1b8 100644 --- a/addons/web/static/src/scss/list_view.scss +++ b/addons/web/static/src/scss/list_view.scss @@ -23,6 +23,9 @@ border-bottom: 1px solid #cacaca; > tr > th { border-left: 1px solid #dfdfdf; + @include media-breakpoint-down(sm) { + white-space: nowrap; + } &:not(.o_column_sortable):hover { cursor: default; }