forge.chapril.org-custom/public/chapril-banner-v2.css
Pierre-Louis Bonicoli a57f59671a
review tab: keep chapril banner on top
* the 'top' value (0px) for '.repository .diff-detail-box.sticky'
  classes is defined here:
  4a20eadfd7/web_src/less/_repository.less (L1610)
* the 'top' values (46px, 77px) for
  '.ui.attached.header.diff-file-header.sticky-2nd-row' classes is
  defined here:
  4a20eadfd7/web_src/less/_repository.less (L3102)

Update #5733
2022-01-20 03:57:59 +01:00

22 lines
525 B
CSS

/* 42px: height of the chapril banner */
.repository .diff-detail-box.sticky {
top: 42px; /* default value (0) + 42px */
}
.ui.attached.header.diff-file-header.sticky-2nd-row {
top: 88px; /* default value (46px) + 42px */
}
@media (min-width: 768px) and (max-width: 991px) {
.ui.attached.header.diff-file-header.sticky-2nd-row {
top: 119px; /* default value (77px) + 42px */
}
}
@media (max-width: 767px) {
.ui.attached.header.diff-file-header.sticky-2nd-row {
top: 119px; /* default value (77px) + 42px */
}
}