Skip to content

Commit ebfa9cb

Browse files
committed
Adjust stick elements at top of merge request
- Unstickied changes count bar (so it doesn't always show when scrolling down) - Restored stickiness of tabs bar (so DOES always show when scrolling down)
1 parent 7fcf8b5 commit ebfa9cb

File tree

4 files changed

+87
-18
lines changed

4 files changed

+87
-18
lines changed

css/style.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,16 @@
123123
.gitlab-tree-plugin-file-commented-icon
124124
{
125125
margin-right: 7px;
126-
}
126+
}
127+
128+
.gitlab-tree-tabs-wrapper
129+
{
130+
top: 40px;
131+
z-index: 200;
132+
position: sticky;
133+
}
134+
135+
.diff-files-changed {
136+
position: inherit !important;
137+
}
138+

src/inject/inject.js

Lines changed: 29 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)