diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-07 15:40:24 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-07 15:40:24 +0300 |
commit | bb112f0fe3eed7a2200e30ab766c67c57e0461d6 (patch) | |
tree | 164796b27bf40260c4084237fdddb692c7d31cab /app | |
parent | 719cdd3a9d7a5dc604a89bb4e63904e4eaeaa290 (diff) |
Ensure enough space between branch links
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/wells.scss | 4 | ||||
-rw-r--r-- | app/helpers/commits_helper.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/wells.scss b/app/assets/stylesheets/framework/wells.scss index 8e1092c6df8..e4703db773d 100644 --- a/app/assets/stylesheets/framework/wells.scss +++ b/app/assets/stylesheets/framework/wells.scss @@ -65,6 +65,10 @@ display: inline; } + .branch-link { + margin-bottom: 2px; + } + .limit-box { display: inline-flex; align-items: center; diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index 95fc50a476a..f9a666fa1e6 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -62,7 +62,7 @@ module CommitsHelper # Returns a link formatted as a commit branch link def commit_branch_link(url, text) - link_to(url, class: 'label label-gray ref-name') do + link_to(url, class: 'label label-gray ref-name branch-link') do icon('code-fork') + " #{text}" end end |