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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e34759f5
Commit
e34759f5
authored
Jan 06, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fork icon shrinks if branch name is very long
parent
aaeddaa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+1
-1
changelogs/unreleased/295263-fork-icon-shrinks-if-branch-name-is-very-long.yml
.../295263-fork-icon-shrinks-if-branch-name-is-very-long.yml
+5
-0
No files found.
app/views/projects/branches/_branch.html.haml
View file @
e34759f5
...
...
@@ -4,7 +4,7 @@
%li
{
class:
"branch-item js-branch-item js-branch-#{branch.name}"
,
data:
{
name:
branch
.
name
}
}
.branch-info
.branch-title
=
sprite_icon
(
'fork'
,
size:
12
)
=
sprite_icon
(
'fork'
,
size:
12
,
css_class:
'gl-flex-shrink-0'
)
=
link_to
project_tree_path
(
@project
,
branch
.
name
),
class:
'item-title str-truncated-100 ref-name gl-ml-3 qa-branch-name'
do
=
branch
.
name
-
if
branch
.
name
==
@repository
.
root_ref
...
...
changelogs/unreleased/295263-fork-icon-shrinks-if-branch-name-is-very-long.yml
0 → 100644
View file @
e34759f5
---
title
:
Fix fork icon shrinks if branch name is very long
merge_request
:
50915
author
:
Kev @KevSlashNull
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