mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
piechart styles fixes
This commit is contained in:
parent
f721a044a1
commit
a449185ae5
2 changed files with 20 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<div class="row pie-charts">
|
||||
|
||||
<ba-card *ngFor="#chart of charts" class="pie-chart-item-container col-xlg-6 col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
||||
<ba-card *ngFor="#chart of charts" class="pie-chart-item-container col-xlg-3 col-lg-3 col-md-6 col-sm-12 col-xs-12">
|
||||
|
||||
<div class="pie-chart-item">
|
||||
<div class="chart" [attr.data-rel]="chart.color" data-percent="60">
|
||||
|
|
|
|||
|
|
@ -14,6 +14,25 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1325px) {
|
||||
.pie-chart-item-container {
|
||||
width: 25%;
|
||||
flex: 0 0 25%
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 700px) and (max-width: 1325px) {
|
||||
.pie-chart-item-container {
|
||||
width: 50%;
|
||||
flex: 0 0 50%
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 700px) {
|
||||
.pie-chart-item-container {
|
||||
width: 100%;
|
||||
flex: 0 0 100%
|
||||
}
|
||||
}
|
||||
|
||||
.pie-chart-item {
|
||||
position: relative;
|
||||
.chart-icon {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue