[IMP] Add sticky header & footer in list view

pull/2405/head
QS5ELkMu 2018-07-01 02:37:18 +02:00 committed by anjeel.haria
parent 211ba4552f
commit 10e3935df9
1 changed files with 24 additions and 6 deletions

View File

@ -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;
}
}