Commit 8c0c4750 authored by Constance Okoghenun's avatar Constance Okoghenun

Added styling for milestone progress

parent 44c82ebb
...@@ -267,7 +267,6 @@ li.note { ...@@ -267,7 +267,6 @@ li.note {
} }
.progress { .progress {
margin-bottom: 0;
margin-top: 4px; margin-top: 4px;
box-shadow: none; box-shadow: none;
background-color: $border-gray-light; background-color: $border-gray-light;
......
...@@ -23,6 +23,13 @@ ...@@ -23,6 +23,13 @@
.progress { .progress {
width: 100%; width: 100%;
height: 6px; height: 6px;
margin-bottom: $gl-padding-4;
}
.milestone-progress {
a {
color: $gl-link-color;
}
} }
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.col-sm-6 .col-sm-6
%strong= link_to truncate(milestone.title, length: 100), milestone_path %strong= link_to truncate(milestone.title, length: 100), milestone_path
- unless dashboard - unless dashboard
= milestone_type = " - #{milestone_type}"
- if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone? - if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone?
= render('shared/milestone_expired', milestone: milestone) = render('shared/milestone_expired', milestone: milestone)
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
%span.badge.badge-gray %span.badge.badge-gray
= dashboard ? milestone.project.full_name : milestone.project.name = dashboard ? milestone.project.full_name : milestone.project.name
.col-sm-4 .col-sm-4.milestone-progress
= milestone_progress_bar(milestone) = milestone_progress_bar(milestone)
= link_to pluralize(milestone.total_issues_count(current_user), 'Issue'), issues_path = link_to pluralize(milestone.total_issues_count(current_user), 'Issue'), issues_path
· ·
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment