[FIX] web: list view: make the scrollbar above the thead in safari

Since odoo/odoo#107631, in Safari (version tested 15.6.1),
the scrollbar stayed below the list view thead and thus looked glitchy.

Now, the scrollbar stays above the sticky thead. The fix applied is
documented in this stackoverflow thread
The fix applied is described in this stackoverflow thread:
https://stackoverflow.com/questions/20832531/mobile-safari-positionfixed-z-index-glitch-when-scrolling

closes odoo/odoo#109773

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
fdardenne
2023-01-17 14:16:25 +01:00
parent 662eed1f3d
commit e554f5688c
@@ -19,6 +19,8 @@
.o_list_view & {
--ListRenderer-table-padding-h: #{$o-horizontal-padding};
// So the scrollbar does not stay below the thead in Safari
transform: translate3d(0,0,0);
}
.o_list_table {