Browse Source
* the 'top' value (0px) for '.repository .diff-detail-box.sticky' classes is defined here:main4a20eadfd7/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

2 changed files with 22 additions and 0 deletions
@ -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 */ |
||||
} |
||||
} |
Loading…
Reference in new issue