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
This commit is contained in:
parent
0985abbe59
commit
a57f59671a
21
public/chapril-banner-v2.css
Normal file
21
public/chapril-banner-v2.css
Normal file
@ -0,0 +1,21 @@
|
||||
/* 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 */
|
||||
}
|
||||
}
|
@ -1 +1,2 @@
|
||||
<link rel="stylesheet" type="text/css" href="/Chapril-banner/v2/chapril-banner.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/chapril-banner-v2.css" />
|
||||
|
Loading…
Reference in New Issue
Block a user