fix: added chart wrappers + cosmetic changes

This commit is contained in:
woothu
2018-10-15 14:09:01 +02:00
parent 44a6c93642
commit 143c2d9104
5 changed files with 24 additions and 15 deletions
+3 -1
View File
@@ -5,7 +5,9 @@
<h4 class="mb-0">{{header}}</h4>
<p>{{text}}</p>
</b-card-body>
<slot name='chart'></slot>
<div class="chart-wrapper">
<slot name='chart'></slot>
</div>
</b-card>
</template>
+3 -1
View File
@@ -13,7 +13,9 @@
<small>{{leftFooter}}</small>
</span>
</div>
<slot></slot>
<div class="chart-wrapper">
<slot></slot>
</div>
</div>
</div>
</template>
+2 -2
View File
@@ -3,9 +3,9 @@
<div class="card-body text-center">
<div class="text-muted small text-uppercase font-weight-bold">{{header}}</div>
<div class="h2 py-3">{{text}}</div>
<!-- <div class="chart-wrapper"> -->
<div class="chart-wrapper">
<slot></slot>
<!-- </div> -->
</div>
</div>
</div>
</template>