summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/diff.scss
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-07 14:21:12 +0100
committerPhil Hughes <me@iamphill.com>2017-08-09 16:40:27 +0100
commitc76091804ff3f81a04b3c0579e4c84f4c2234ed8 (patch)
tree00d0cfaad3f9bb7db2afe7f9a7b08a4268c6928f /app/assets/stylesheets/pages/diff.scss
parent8fbbd3f27a5f69cfc9f4ddd05e46498c9e5ccf60 (diff)
downloadgitlab-ce-c76091804ff3f81a04b3c0579e4c84f4c2234ed8.tar.gz
Fix the sticky changes bar on commits pagefixed-sticky-stats-box-commit-view
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index da77346d8b2..215bedc04fd 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -574,10 +574,14 @@
@media (min-width: $screen-sm-min) {
position: -webkit-sticky;
position: sticky;
- top: 84px;
+ top: 34px;
background-color: $white-light;
z-index: 190;
+ &.diff-files-changed-merge-request {
+ top: 84px;
+ }
+
+ .files,
+ .alert {
margin-top: 1px;