Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
bb112f0f
Commit
bb112f0f
authored
Nov 07, 2017
by
Mayra Cabrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure enough space between branch links
parent
719cdd3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/assets/stylesheets/framework/wells.scss
app/assets/stylesheets/framework/wells.scss
+4
-0
app/helpers/commits_helper.rb
app/helpers/commits_helper.rb
+1
-1
No files found.
app/assets/stylesheets/framework/wells.scss
View file @
bb112f0f
...
...
@@ -65,6 +65,10 @@
display
:
inline
;
}
.branch-link
{
margin-bottom
:
2px
;
}
.limit-box
{
display
:
inline-flex
;
align-items
:
center
;
...
...
app/helpers/commits_helper.rb
View file @
bb112f0f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment