summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-02-22 14:09:13 +0000
committerPhil Hughes <me@iamphill.com>2016-02-22 14:09:13 +0000
commitfbc578a7eced90ccb71687aaefa2d429a5ace63b (patch)
treea72e47c200c1d2c24f88f002e511899bca802322 /app/assets
parentf51d8af5a72e563b3ea87668b6f4981dcbcdcd14 (diff)
downloadgitlab-ce-fbc578a7eced90ccb71687aaefa2d429a5ace63b.tar.gz
Added line links to blame tableblame-line-link
Closes #4119
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/dispatcher.js.coffee2
-rw-r--r--app/assets/stylesheets/framework/highlight.scss4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee
index b17f8e51470..407005d8adf 100644
--- a/app/assets/javascripts/dispatcher.js.coffee
+++ b/app/assets/javascripts/dispatcher.js.coffee
@@ -91,7 +91,7 @@ class Dispatcher
new TreeView()
when 'projects:find_file:show'
shortcut_handler = true
- when 'projects:blob:show'
+ when 'projects:blob:show', 'projects:blame:show'
new LineHighlighter()
shortcut_handler = new ShortcutsNavigation()
when 'projects:labels:new', 'projects:labels:edit'
diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss
index 9854df4c45c..12e2f00fe89 100644
--- a/app/assets/stylesheets/framework/highlight.scss
+++ b/app/assets/stylesheets/framework/highlight.scss
@@ -44,8 +44,10 @@
white-space: nowrap;
i {
+ float: left;
+ margin-top: 3px;
+ margin-right: 5px;
visibility: hidden;
- @extend .pull-left;
}
&:hover i {