mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix for ngStyle
This commit is contained in:
parent
c3d16af979
commit
38634e7b79
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="channels-info">
|
<div class="channels-info">
|
||||||
<div>
|
<div>
|
||||||
<div class="channels-info-item" *ngFor="#item of doughnutData">
|
<div class="channels-info-item" *ngFor="#item of doughnutData">
|
||||||
<div class="legend-color" style="background-color: {{ item.color }}"></div>
|
<div class="legend-color" [ngStyle]="{'background-color': item.color }"></div>
|
||||||
<p>{{ item.label }}<span class="channel-number">+{{ item.percentage }}%</span></p>
|
<p>{{ item.label }}<span class="channel-number">+{{ item.percentage }}%</span></p>
|
||||||
<div class="progress progress-sm channel-progress">
|
<div class="progress progress-sm channel-progress">
|
||||||
<div class="progress-bar" role="progressbar"
|
<div class="progress-bar" role="progressbar"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue