Browse Source

[11.0] web_responsive : Support sticky table headers on chrome (#1082)

pull/1087/head
Akim Juillerat 6 years ago
committed by Simone Orsi
parent
commit
fad3ec6c27
  1. 4
      web_responsive/__manifest__.py
  2. 7
      web_responsive/static/src/less/form_view.less

4
web_responsive/__manifest__.py

@ -6,9 +6,9 @@
"name": "Web Responsive", "name": "Web Responsive",
"summary": "It provides a mobile compliant interface for Odoo Community " "summary": "It provides a mobile compliant interface for Odoo Community "
"web", "web",
"version": "11.0.2.0.0",
"version": "11.0.2.0.1",
"category": "Website", "category": "Website",
"website": "https://laslabs.com/",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, Alexandre Díaz, " "author": "LasLabs, Tecnativa, Alexandre Díaz, "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",
"license": "LGPL-3", "license": "LGPL-3",

7
web_responsive/static/src/less/form_view.less

@ -57,13 +57,16 @@
>div { >div {
>.table-responsive { >.table-responsive {
>.o_list_view { >.o_list_view {
thead {
thead tr:nth-child(1) th {
position: sticky; position: sticky;
top: 0; top: 0;
background-color: #EEEEEE;
border: none;
} }
tfoot {
tfoot tr:nth-child(1) td {
position: sticky; position: sticky;
bottom: 0; bottom: 0;
background-color: #EEEEEE;
} }
} }
} }

Loading…
Cancel
Save