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
Léo-Paul Géneau
gitlab-ce
Commits
5a34d3bd
Commit
5a34d3bd
authored
Apr 16, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix size and position for fork icon
parent
2cc78c0b
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
145 additions
and
144 deletions
+145
-144
Gemfile.lock
Gemfile.lock
+137
-142
app/assets/stylesheets/framework/wells.scss
app/assets/stylesheets/framework/wells.scss
+1
-0
app/assets/stylesheets/pages/commits.scss
app/assets/stylesheets/pages/commits.scss
+1
-1
app/helpers/commits_helper.rb
app/helpers/commits_helper.rb
+1
-1
changelogs/unreleased/fix-size-and-position-for-fork-icon.yml
...gelogs/unreleased/fix-size-and-position-for-fork-icon.yml
+5
-0
No files found.
Gemfile.lock
View file @
5a34d3bd
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/framework/wells.scss
View file @
5a34d3bd
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
.fork-svg
{
.fork-svg
{
margin-right
:
4px
;
margin-right
:
4px
;
vertical-align
:
bottom
;
}
}
}
}
...
...
app/assets/stylesheets/pages/commits.scss
View file @
5a34d3bd
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
}
}
.branch-info
.commit-icon
{
.branch-info
.commit-icon
{
margin-right
:
3
px
;
margin-right
:
8
px
;
svg
{
svg
{
top
:
3px
;
top
:
3px
;
...
...
app/helpers/commits_helper.rb
View file @
5a34d3bd
...
@@ -63,7 +63,7 @@ module CommitsHelper
...
@@ -63,7 +63,7 @@ module CommitsHelper
# Returns a link formatted as a commit branch link
# Returns a link formatted as a commit branch link
def
commit_branch_link
(
url
,
text
)
def
commit_branch_link
(
url
,
text
)
link_to
(
url
,
class:
'label label-gray ref-name branch-link'
)
do
link_to
(
url
,
class:
'label label-gray ref-name branch-link'
)
do
sprite_icon
(
'fork'
,
size:
1
6
,
css_class:
'fork-svg'
)
+
"
#{
text
}
"
sprite_icon
(
'fork'
,
size:
1
2
,
css_class:
'fork-svg'
)
+
"
#{
text
}
"
end
end
end
end
...
...
changelogs/unreleased/fix-size-and-position-for-fork-icon.yml
0 → 100644
View file @
5a34d3bd
---
title
:
Fix size and position for fork icon
merge_request
:
18399
author
:
George Tsiolis
type
:
fixed
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