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
765008ba
Commit
765008ba
authored
Mar 28, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] bye bye wide-counter
parent
dc51a093
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+2
-4
app/views/shared/issuable/_assignees.html.haml
app/views/shared/issuable/_assignees.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
765008ba
...
@@ -488,10 +488,8 @@
...
@@ -488,10 +488,8 @@
min-width
:
16px
;
min-width
:
16px
;
line-height
:
14px
;
line-height
:
14px
;
height
:
16px
;
height
:
16px
;
}
padding-left
:
2px
;
padding-right
:
2px
;
.wide-counter
{
width
:
27px
;
}
}
}
}
}
}
...
...
app/views/shared/issuable/_assignees.html.haml
View file @
765008ba
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
-
if
issue
.
assignees
.
length
>
max_render
-
if
issue
.
assignees
.
length
>
max_render
-
counter
=
issue
.
assignees
.
length
-
max_render
-
counter
=
issue
.
assignees
.
length
-
max_render
%span
{
class:
"avatar-counter has-tooltip #{"
wide
-
counter
" if counter > 9}"
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
'original-title'
=>
"+#{counter} more assignees"
}
}
%span
{
class:
'avatar-counter has-tooltip'
,
data:
{
container:
'body'
,
placement:
'bottom'
,
'line-type'
=>
'old'
,
'original-title'
=>
"+#{counter} more assignees"
}
}
-
if
counter
<
99
-
if
counter
<
99
=
"+
#{
counter
}
"
=
"+
#{
counter
}
"
-
else
-
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