Skip to content

Commit 65dbe68

Browse files
committed
DEV Move Less to Core Pf
1 parent 02f0e4e commit 65dbe68

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

src/charts/charts.less

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,6 @@ pf-c3-chart {
1111
width: 100%;
1212
}
1313
}
14-
.pct-donut-chart-pf {
15-
16-
.pct-donut-chart-pf-block {
17-
.pct-donut-chart-pf-label {
18-
display: block;
19-
}
20-
}
21-
22-
.pct-donut-chart-pf-left,
23-
.pct-donut-chart-pf-right {
24-
25-
pf-c3-chart {
26-
display: inline-block;
27-
}
28-
29-
display: flex;
30-
flex-direction: row;
31-
justify-content: center;
32-
align-items: center;
33-
}
34-
35-
.pct-donut-chart-pf-left {
36-
flex-direction: row-reverse;
37-
}
38-
}
3914

4015
.utilization-trend-chart-pf {
4116
.donut-chart-pf {

src/charts/donut/donut-pct-chart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<span class="pct-donut-chart-pf">
2-
<span ng-class="{'pct-donut-chart-pf-block': $ctrl.config.labelConfig.orientation !== 'left' && $ctrl.config.labelConfig.orientation !== 'right', 'pct-donut-chart-pf-left': $ctrl.config.labelConfig.orientation === 'left', 'pct-donut-chart-pf-right': $ctrl.config.labelConfig.orientation === 'right'}">
2+
<span ng-class="{'pct-donut-chart-pf-left': $ctrl.config.labelConfig.orientation === 'left', 'pct-donut-chart-pf-right': $ctrl.config.labelConfig.orientation === 'right'}">
33
<span class="pct-donut-chart-pf-chart">
44
<pf-c3-chart ng-if="$ctrl.data.dataAvailable !== false" id="{{$ctrl.donutChartId}}" config="$ctrl.config"
55
get-chart-callback="$ctrl.setChart"></pf-c3-chart>

0 commit comments

Comments
 (0)