diff options
author | Phil Hughes <me@iamphill.com> | 2016-02-22 14:09:13 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-02-22 14:09:13 +0000 |
commit | fbc578a7eced90ccb71687aaefa2d429a5ace63b (patch) | |
tree | a72e47c200c1d2c24f88f002e511899bca802322 /app/assets | |
parent | f51d8af5a72e563b3ea87668b6f4981dcbcdcd14 (diff) | |
download | gitlab-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.coffee | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/highlight.scss | 4 |
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 { |