Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
918 Vistas

In odoov17 In sale order I want to make

sticky. So far I managed to make this part sticky:

.o_notebook_headers {    position: sticky;    top: 0;    z-index: 10;  } 

But when I try to add same css to  thead * {} It wont work. Is there some way to make

also sticky? 



Avatar
Descartar
Mejor respuesta

Hi, 


If you want to make the thead sticky, try using the below CSS code.



.o_list_view .o_list_table thead {

    position: sticky;

    top: 0;

    z-index:999;

}

.o_account_reports_page .table-responsive{

    overflow-x: auto;

    overflow-y: visible;

}

.table-responsive{

    overflow: visible;

}

.o_list_view .table-responsive .table thead{

z-index: 1;

}

.o_list_renderer .o_list_table thead {

    position: sticky;

    top: 0;

    z-index:999;

}


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
may 25
2568
2
may 25
5947
1
mar 25
1714
4
mar 25
4557
3
feb 25
5556