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
Tatuya Kamada
gitlab-ce
Commits
fa79fefe
Commit
fa79fefe
authored
Nov 30, 2016
by
Andrew Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix position of counters within milestone panels
parent
edb8ed36
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
app/assets/stylesheets/pages/milestone.scss
app/assets/stylesheets/pages/milestone.scss
+20
-0
app/views/shared/milestones/_issuables.html.haml
app/views/shared/milestones/_issuables.html.haml
+3
-3
changelogs/unreleased/23819-fix-milestone-counters-to-top-right-of-panel-headings.yml
...fix-milestone-counters-to-top-right-of-panel-headings.yml
+4
-0
No files found.
app/assets/stylesheets/pages/milestone.scss
View file @
fa79fefe
...
...
@@ -30,6 +30,26 @@
word-wrap
:
break-word
;
}
}
.panel-heading
{
line-height
:
$line-height-base
;
padding
:
14px
16px
;
display
:
-
webkit-flex
;
display
:
flex
;
.title
{
-webkit-flex
:
1
;
-webkit-flex-grow
:
1
;
flex
:
1
;
flex-grow
:
2
;
}
.counter
{
-webkit-flex
:
1
;
flex
:
0
;
padding-left
:
16px
;
}
}
}
.milestone-summary
{
...
...
app/views/shared/milestones/_issuables.html.haml
View file @
fa79fefe
...
...
@@ -3,11 +3,11 @@
-
panel_class
=
primary
?
'panel-primary'
:
'panel-default'
.panel
{
class:
panel_class
}
.panel-heading
.split
.
left
.panel-heading
.
title
=
title
-
if
show_counter
.
right
.
counter
=
number_with_delimiter
(
issuables
.
size
)
-
class_prefix
=
dom_class
(
issuables
).
pluralize
...
...
changelogs/unreleased/23819-fix-milestone-counters-to-top-right-of-panel-headings.yml
0 → 100644
View file @
fa79fefe
---
title
:
Fix position of counter in milestone panels
merge_request
:
7842
author
:
Andrew Smith (EspadaV8)
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