summaryrefslogtreecommitdiff
path: root/app/views/projects/cycle_analytics
diff options
context:
space:
mode:
authorBrandon Labuschagne <blabuschagne@gitlab.com>2019-11-15 14:39:29 +0000
committerAakriti Gupta <agupta@gitlab.com>2019-11-20 10:36:19 +0100
commita416b83b6c0e1b8db9dd9829d16ca420bdb2fbe9 (patch)
tree24b03e0a11d8bc608e8d57f25482de6d90c3a82c /app/views/projects/cycle_analytics
parent9e674f92a3e3f2c4f524517cfa31864525844095 (diff)
downloadgitlab-ce-a416b83b6c0e1b8db9dd9829d16ca420bdb2fbe9.tar.gz
Ensure that summary items remain aligned
Default number of items is 3. If this is not the case, then increase the column width of the summary items to cater for 2 items plus the date filter.
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml
index 7fedd1ab785..1691af9dfdd 100644
--- a/app/views/projects/cycle_analytics/show.html.haml
+++ b/app/views/projects/cycle_analytics/show.html.haml
@@ -13,10 +13,10 @@
.content-block
.container-fluid
.row
- .col-sm-3.col-12.column{ "v-for" => "item in state.summary" }
+ .col-12.column{ "v-for" => "item in state.summary", ":class" => "summaryTableColumnClass" }
%h3.header {{ item.value }}
%p.text {{ item.title }}
- .col-sm-3.col-12.column
+ .col-12.column{ ":class" => "summaryTableColumnClass" }
.dropdown.inline.js-ca-dropdown
%button.dropdown-menu-toggle{ "data-toggle" => "dropdown", :type => "button" }
%span.dropdown-label {{ n__('Last %d day', 'Last %d days', 30) }}