mirror of https://github.com/OCA/web.git
[IMP] Add sticky header & footer in list view
parent
211ba4552f
commit
10e3935df9
|
@ -52,6 +52,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Sticky Header & Footer in List View
|
||||
.o_view_manager_content {
|
||||
>div {
|
||||
>.table-responsive {
|
||||
>.o_list_view {
|
||||
thead {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
tfoot {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_view {
|
||||
// Form must fill 100% width in any size
|
||||
.o_form_sheet_bg {
|
||||
|
@ -69,6 +87,12 @@
|
|||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_statusbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// No overflowing buttons or titles
|
||||
|
@ -152,10 +176,4 @@
|
|||
.oe_chatter {
|
||||
min-width: inherit;
|
||||
}
|
||||
|
||||
.o_form_statusbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue