Skip to content
Snippets Groups Projects
Commit 719e59c7 authored by Kushal Pandya's avatar Kushal Pandya
Browse files

Make scroll buttons sticky always

parent df0aeae7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -67,19 +67,20 @@
margin: 0 0 0 auto;
}
 
.scroll-link.sticky,
.scroll-link,
.autoscroll-container {
right: 25px;
z-index: 1;
}
 
.scroll-link {
position: fixed;
display: block;
margin-bottom: 10px;
width: 16px;
height: 33px;
 
&.scroll-top {
top: 110px;
.gitlab-icon-scroll-up-hover {
display: none;
}
Loading
Loading
@@ -97,6 +98,8 @@
}
 
&.scroll-bottom {
bottom: -2px;
.gitlab-icon-scroll-down-hover {
display: none;
}
Loading
Loading
@@ -112,18 +115,6 @@
}
}
}
&.sticky {
position: fixed;
&.scroll-top {
top: 110px;
}
&.scroll-bottom {
bottom: -2px;
}
}
}
 
.autoscroll-container {
Loading
Loading
@@ -132,7 +123,7 @@
 
&.sidebar-expanded {
 
.scroll-link.sticky,
.scroll-link,
.autoscroll-container {
right: ($gutter_width + ($gl-padding * 2));
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment