Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions extensions/odoo_theme/static/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,24 @@ span.viewcode-link {
margin-left: .3rem;
}

// Table with sticky header (for long tables)
// Offset top by header height so table header sticks below the site header
.table-sticky-header {
// override the display: block in the mobile override
display: table!important;
border-collapse: separate;
border-spacing: 0;
thead th {
position: sticky;
z-index: 2;
background-color: $white;
top: $o-headers-mobile-height;
@include media-breakpoint-up(lg) {
top: $o-headers-height;
}
}
}

//------------------------------------------------------------------------------
// Alerts
//------------------------------------------------------------------------------
Expand Down