Commit a0a81caf authored by Clement Ho's avatar Clement Ho

Merge branch '23819-fix-milestone-counters-to-top-right-of-panel-headings' into 'master'

Fix position of milestone panel counters

Closes #23819

See merge request !7842
parents ebbf8f60 fa79fefe
...@@ -30,6 +30,26 @@ ...@@ -30,6 +30,26 @@
word-wrap: break-word; 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 { .milestone-summary {
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
- panel_class = primary ? 'panel-primary' : 'panel-default' - panel_class = primary ? 'panel-primary' : 'panel-default'
.panel{ class: panel_class } .panel{ class: panel_class }
.panel-heading.split .panel-heading
.left .title
= title = title
- if show_counter - if show_counter
.right .counter
= number_with_delimiter(issuables.size) = number_with_delimiter(issuables.size)
- class_prefix = dom_class(issuables).pluralize - class_prefix = dom_class(issuables).pluralize
......
---
title: Fix position of counter in milestone panels
merge_request: 7842
author: Andrew Smith (EspadaV8)
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