diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-09-20 00:12:17 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-09-20 00:12:17 +0300 |
commit | 461b399538b275bf6b7b477c2f3dbd38718140c5 (patch) | |
tree | b8be4930eeb26428c0fca331435276411add8e60 | |
parent | e49c6f8666f0e4a575bc9e2955c06eb59e213fd1 (diff) | |
download | gitlab-ce-461b399538b275bf6b7b477c2f3dbd38718140c5.tar.gz |
Simplify vue template for cycle analytics.
-rw-r--r-- | app/assets/stylesheets/pages/cycle_analytics.scss | 9 | ||||
-rw-r--r-- | app/views/projects/cycle_analytics/show.html.haml | 13 |
2 files changed, 11 insertions, 11 deletions
diff --git a/app/assets/stylesheets/pages/cycle_analytics.scss b/app/assets/stylesheets/pages/cycle_analytics.scss index 4bbd942112a..d62b9b917ee 100644 --- a/app/assets/stylesheets/pages/cycle_analytics.scss +++ b/app/assets/stylesheets/pages/cycle_analytics.scss @@ -23,6 +23,7 @@ .text { color: $layout-link-gray; + margin: 0; } &:last-child { @@ -52,13 +53,15 @@ } .title-col { - span { - &:first-child { + p { + margin: 0; + + &.title { line-height: 19px; font-size: 15px; font-weight: 600; } - &:last-child { + &:text { color: #8C8C8C; } } diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml index b9439014fb5..f0b95fc4b94 100644 --- a/app/views/projects/cycle_analytics/show.html.haml +++ b/app/views/projects/cycle_analytics/show.html.haml @@ -23,11 +23,9 @@ .content-block .container-fluid .row - %template{"v-for" => "item in summary"} - .col-xs-3.column - %span.header {{item.value}} - %br - %span.text {{item.title}} + .col-xs-3.column{"v-for" => "item in summary"} + %h3.header {{item.value}} + %p.text {{item.title}} .col-xs-3.column .dropdown.inline.js-ca-dropdown @@ -48,10 +46,9 @@ .container-fluid .row .col-xs-10.title-col - %span + %p.title {{item.title}} - %br - %span + %p.text {{item.description}} .col-xs-2.value-col %span |