Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-14 00:36:59 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-14 00:36:59 +0300
commitf989190ed4ea3f9b03451918b55384a2e23fe3af (patch)
treeb21b0a02ebff9d3c48bb7ffd451234359d47cfbb /app
parentd0f045eb860f819a736d76622d8d9c546a9610ee (diff)
Show tooltips on collapsed sidebar
Diffstat (limited to 'app')
-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"
+