/* Ghim header + dòng group by của bảng danh sách issues, chỉ dùng MỘT ngữ cảnh cuộn là trang.
   `position: sticky` neo theo ancestor có overflow khác `visible` gần nhất; trên trang này có 4 lớp
   như vậy (#wrapper hidden, #content auto, .autoscroll auto, chính table.list hidden) và thiếu một lớp
   là header không dính → gỡ cả bốn, header dính theo cửa sổ.
   Bảng nhiều cột rộng hơn vùng nội dung: không còn khung cuộn ngang riêng, nên
   `common/sticky_list_header.js` nới #wrapper/#main đủ rộng để trang tự cuộn ngang. */
body.controller-issues.action-index #wrapper,
body.controller-issues.action-index #content,
body.controller-issues.action-index div.autoscroll,
body.controller-issues.action-index table.list.issues { overflow: visible; }
body.controller-issues.action-index table.list.issues thead th {
  position: sticky; top: 0; z-index: 5; background: #eee;
}
/* Dòng group by (`tr.group`) dính ngay dưới header; nhiều nhóm thì nhóm sau đè lên nhóm trước.
   29px = chiều cao hàng header (1 dòng chữ); header xuống dòng thì tăng giá trị này. */
body.controller-issues.action-index table.list.issues tr.group td {
  position: sticky; top: 29px; z-index: 4; background: #fff;
  box-shadow: inset 0 -1px 0 #ddd;
}
