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
a768c04b
Commit
a768c04b
authored
May 19, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fork counter ui bug for safari
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f26389a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-1
app/views/projects/buttons/_fork.html.haml
app/views/projects/buttons/_fork.html.haml
+3
-2
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
a768c04b
...
@@ -149,6 +149,10 @@
...
@@ -149,6 +149,10 @@
white-space
:
nowrap
;
white-space
:
nowrap
;
margin
:
0
11px
0
4px
;
margin
:
0
11px
0
4px
;
a
{
color
:
inherit
;
}
&
:hover
{
&
:hover
{
background
:
#fff
;
background
:
#fff
;
}
}
...
@@ -161,7 +165,7 @@
...
@@ -161,7 +165,7 @@
display
:
inline-table
;
display
:
inline-table
;
margin-right
:
12px
;
margin-right
:
12px
;
a
{
>
a
{
margin
:
-1px
;
margin
:
-1px
;
}
}
}
}
...
...
app/views/projects/buttons/_fork.html.haml
View file @
a768c04b
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'btn has-tooltip'
do
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'btn has-tooltip'
do
=
icon
(
'code-fork fw'
)
=
icon
(
'code-fork fw'
)
Fork
Fork
=
link_to
namespace_project_forks_path
(
@project
.
namespace
,
@project
),
class:
'count-with-arrow'
do
%div
.count-with-arrow
%span
.arrow
%span
.arrow
%span
.count
%span
.count
=
@project
.
forks_count
=
link_to
namespace_project_forks_path
(
@project
.
namespace
,
@project
)
do
=
@project
.
forks_count
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