File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
extensions/odoo_theme/static Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -954,6 +954,24 @@ span.viewcode-link {
954954 margin-left : .3rem ;
955955}
956956
957+ // Table with sticky header (for long tables)
958+ // Offset top by header height so table header sticks below the site header
959+ .table-sticky-header {
960+ // override the display: block in the mobile override
961+ display : table !important ;
962+ border-collapse : separate ;
963+ border-spacing : 0 ;
964+ thead th {
965+ position : sticky ;
966+ z-index : 2 ;
967+ background-color : $white ;
968+ top : $o-headers-mobile-height ;
969+ @include media-breakpoint-up (lg) {
970+ top : $o-headers-height ;
971+ }
972+ }
973+ }
974+
957975// ------------------------------------------------------------------------------
958976// Alerts
959977// ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments