summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss
diff options
context:
space:
mode:
authormgh-odoo <mgh@odoo.com>2018-09-19 12:06:56 +0000
committerAdrien Dieudonne <adr@odoo.com>2018-10-18 08:44:22 +0000
commitcb8dcb5913de3d3067e4ba1ad218dc91c9ef716d (patch)
tree9f60a4f838f413e62676acebb7f3bd411ccec6fe /addons/web/static/src/scss
parent1f409dcea7f7c808d38b941c3a734129ac4e4cb0 (diff)
[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
Diffstat (limited to 'addons/web/static/src/scss')
-rw-r--r--addons/web/static/src/scss/list_view.scss3
1 files changed, 3 insertions, 0 deletions
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;
}