Skip to content
Snippets Groups Projects
Commit a11eea88 authored by David Pisek's avatar David Pisek :palm_tree:
Browse files

Merge branch 'mr-sidebar-sticky' into 'master'

Fix positioning of MR sidebar at bottom of page

See merge request gitlab-org/gitlab!122509



Merged-by: default avatarDavid Pisek <dpisek@gitlab.com>
Approved-by: default avatarDavid Pisek <dpisek@gitlab.com>
Approved-by: Kevin Comoli's avatarKevin Comoli <kcomoli@gitlab.com>
Co-authored-by: default avatarAnnabel Dunstone Gray <annabel.dunstone@gmail.com>
parents 39207924 71fc1fd3
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ body {
.content-wrapper {
padding-top: var(--top-bar-height);
padding-bottom: 100px;
padding-bottom: $content-wrapper-padding;
}
.container {
......
......@@ -492,7 +492,7 @@
$issue-sticky-header-height: 76px;
top: calc(#{$calc-application-header-height} + #{$issue-sticky-header-height});
height: calc(#{$calc-application-viewport-height} - #{$issue-sticky-header-height} - var(--mr-review-bar-height));
height: calc(#{$calc-application-viewport-height} - #{$issue-sticky-header-height} - var(--mr-review-bar-height) - $content-wrapper-padding);
position: sticky;
overflow: auto;
padding: 0 15px;
......
......@@ -460,6 +460,7 @@ $browser-scrollbar-size: 10px;
* Misc
*/
$header-height: var(--header-height, 48px);
$content-wrapper-padding: 100px;
$header-zindex: 1000;
$zindex-dropdown-menu: 300;
$ide-statusbar-height: 25px;
......
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