Commit 461b3995 authored by Fatih Acet's avatar Fatih Acet

Simplify vue template for cycle analytics.

parent e49c6f86
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
.text { .text {
color: $layout-link-gray; color: $layout-link-gray;
margin: 0;
} }
&:last-child { &:last-child {
...@@ -52,13 +53,15 @@ ...@@ -52,13 +53,15 @@
} }
.title-col { .title-col {
span { p {
&:first-child { margin: 0;
&.title {
line-height: 19px; line-height: 19px;
font-size: 15px; font-size: 15px;
font-weight: 600; font-weight: 600;
} }
&:last-child { &:text {
color: #8C8C8C; color: #8C8C8C;
} }
} }
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
.content-block .content-block
.container-fluid .container-fluid
.row .row
%template{"v-for" => "item in summary"} .col-xs-3.column{"v-for" => "item in summary"}
.col-xs-3.column %h3.header {{item.value}}
%span.header {{item.value}} %p.text {{item.title}}
%br
%span.text {{item.title}}
.col-xs-3.column .col-xs-3.column
.dropdown.inline.js-ca-dropdown .dropdown.inline.js-ca-dropdown
...@@ -48,10 +46,9 @@ ...@@ -48,10 +46,9 @@
.container-fluid .container-fluid
.row .row
.col-xs-10.title-col .col-xs-10.title-col
%span %p.title
{{item.title}} {{item.title}}
%br %p.text
%span
{{item.description}} {{item.description}}
.col-xs-2.value-col .col-xs-2.value-col
%span %span
......
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