Simplify vue template for cycle analytics.
This commit is contained in:
parent
e49c6f8666
commit
461b399538
2 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue