summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-28 09:35:49 +0100
committerFatih Acet <acetfatih@gmail.com>2016-10-29 00:50:24 +0300
commit1c05332ed4599452f34dd94912669d85b93543a4 (patch)
tree4d786365694c25e385166a804b5850a7d1deb2a2
parentdcc699afc214dab1e27541ac35a9d57ef20f2cb9 (diff)
downloadgitlab-ce-sticky-mr-tabs-pinned-nav.tar.gz
Fixed sticky MR tabs positioning when sidebar is pinnedsticky-mr-tabs-pinned-nav
Closes #23926
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/assets/stylesheets/framework/sidebar.scss12
2 files changed, 13 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ef6bb64215b..9b5ab8abe41 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,6 +43,7 @@ Please view this file on the master branch, on stable branches it's out of date.
- Fix importing MR comments from GitHub !7139
- Modify GitHub importer to be retryable !7003
- Fix and improve `Sortable.highest_label_priority`
+ - Fixed sticky merge request tabs when sidebar is pinned
## 8.13.1 (2016-10-25)
- Fix branch protection API. !6215
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 {