diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-13 13:36:59 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-13 13:36:59 -0800 |
commit | f989190ed4ea3f9b03451918b55384a2e23fe3af (patch) | |
tree | b21b0a02ebff9d3c48bb7ffd451234359d47cfbb | |
parent | d0f045eb860f819a736d76622d8d9c546a9610ee (diff) | |
download | gitlab-ce-f989190ed4ea3f9b03451918b55384a2e23fe3af.tar.gz |
Show tooltips on collapsed sidebar
-rw-r--r-- | app/assets/stylesheets/sections/nav_sidebar.scss | 2 | ||||
-rw-r--r-- | app/views/layouts/_page.html.haml | 4 |
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" + |