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",
"summary": "It provides a mobile compliant interface for Odoo Community "
"web",
"version": "11.0.2.0.0",
"version": "11.0.2.0.1",
"category": "Website",
"website": "https://laslabs.com/",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, Alexandre Díaz, "
"Odoo Community Association (OCA)",
"license": "LGPL-3",

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

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

Loading…
Cancel
Save