summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-13 13:36:59 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-13 13:36:59 -0800
commitf989190ed4ea3f9b03451918b55384a2e23fe3af (patch)
treeb21b0a02ebff9d3c48bb7ffd451234359d47cfbb
parentd0f045eb860f819a736d76622d8d9c546a9610ee (diff)
downloadgitlab-ce-f989190ed4ea3f9b03451918b55384a2e23fe3af.tar.gz
Show tooltips on collapsed sidebar
-rw-r--r--app/assets/stylesheets/sections/nav_sidebar.scss2
-rw-r--r--app/views/layouts/_page.html.haml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/sections/nav_sidebar.scss b/app/assets/stylesheets/sections/nav_sidebar.scss
index b35043821da..9c7d1a03a03 100644
--- a/app/assets/stylesheets/sections/nav_sidebar.scss
+++ b/app/assets/stylesheets/sections/nav_sidebar.scss
@@ -126,7 +126,7 @@
.nav-sidebar {
margin-top: 20px;
- position: absolute;
+ position: fixed;
top: 45px;
width: 52px;
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index 98a3d2278a3..422966cdc55 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -17,3 +17,7 @@
= yield
= yield :embedded_scripts
+
+:coffeescript
+ $('.page-sidebar-collapsed .nav-sidebar a').tooltip placement: "right"
+