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
23d24116
Commit
23d24116
authored
Mar 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Increase width for 99+ assignees
parent
71e7d91c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+1
-0
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+7
-5
app/views/shared/issuable/_assignees.html.haml
app/views/shared/issuable/_assignees.html.haml
+2
-1
No files found.
app/assets/stylesheets/framework/lists.scss
View file @
23d24116
...
...
@@ -257,6 +257,7 @@ ul.controls {
.author_link
{
display
:
inline-block
;
vertical-align
:
middle
;
.avatar-inline
{
margin-left
:
0
;
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
23d24116
...
...
@@ -484,11 +484,13 @@
.avatar-counter
{
display
:
inline-block
;
position
:
relative
;
top
:
-0
.2em
;
height
:
17px
;
width
:
17px
;
line-height
:
15px
;
vertical-align
:
middle
;
line-height
:
16px
;
min-width
:
18px
;
}
.wide-counter
{
width
:
25px
;
}
}
}
...
...
app/views/shared/issuable/_assignees.html.haml
View file @
23d24116
...
...
@@ -7,7 +7,8 @@
-
if
issue
.
assignees
.
length
>
max_render
-
counter
=
issue
.
assignees
.
length
-
max_render
%span
{
class
:'avatar-counter has-tooltip'
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
'original-title'
=>
"+#{counter} more assignees"
}
}
%span
{
class:
"avatar-counter has-tooltip #{"
wide
-
counter
" if counter > 9}"
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
'original-title'
=>
"+#{counter} more assignees"
}
}
-
if
counter
<
99
=
"+
#{
counter
}
"
-
else
...
...
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