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
952f18e9
Commit
952f18e9
authored
Apr 18, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore size and position for fork icon
parent
f150f262
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
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/restore-size-and-position-for-fork-icon.yml
...gs/unreleased/restore-size-and-position-for-fork-icon.yml
+5
-0
No files found.
app/assets/stylesheets/framework/wells.scss
View file @
952f18e9
...
@@ -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 @
952f18e9
...
@@ -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 @
952f18e9
...
@@ -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/restore-size-and-position-for-fork-icon.yml
0 → 100644
View file @
952f18e9
---
title
:
Fix size and position for fork icon
merge_request
:
18449
author
:
George Tsiolis
type
:
changed
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