summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-10-28 22:48:14 +0000
committerFatih Acet <acetfatih@gmail.com>2016-10-28 22:48:14 +0000
commitb216d9bf85388e34891e392d8c80e72643d639c0 (patch)
tree13462b11e2eb24c97cbeed81166ee7f5e165d670 /app
parent4d3a08036416a235873d8841a2924febc37c3414 (diff)
parent1c05332ed4599452f34dd94912669d85b93543a4 (diff)
downloadgitlab-ce-b216d9bf85388e34891e392d8c80e72643d639c0.tar.gz
Merge branch 'sticky-mr-tabs-pinned-nav' into 'master'
Fixed sticky MR tabs positioning when sidebar is pinned ## What does this MR do? The sticky MR tabs where positioned underneath the pinned sidebar. This fixes that by accounting for the size of the pinned nav. ## Screenshots (if relevant) ![Screen_Shot_2016-10-28_at_09.37.18](/uploads/0d23f2bb0e02d698c012c22c8653afd7/Screen_Shot_2016-10-28_at_09.37.18.png) ## What are the relevant issue numbers? Closes #23926 See merge request !7167
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/framework/sidebar.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/sidebar.scss b/app/assets/stylesheets/framework/sidebar.scss
index 1d8e64a0e4b..c54f7b27575 100644
--- a/app/assets/stylesheets/framework/sidebar.scss
+++ b/app/assets/stylesheets/framework/sidebar.scss
@@ -164,6 +164,18 @@
padding-left: $sidebar_width;
}
}
+
+ .merge-request-tabs-holder.affix {
+ @media (min-width: $sidebar-breakpoint) {
+ left: $sidebar_width;
+ }
+ }
+
+ &.right-sidebar-expanded {
+ .line-resolve-all-container {
+ display: none;
+ }
+ }
}
header.header-sidebar-pinned {