Skip to content

Commit 0346f61

Browse files
committed
fix(widget-stat-f): rounded-start-1 bg for icon without padding, text-color for value prop
1 parent 02abfd5 commit 0346f61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: projects/coreui-angular/src/lib/widget/widget-stat-f/widget-stat-f.component.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ export class WidgetStatFComponent extends CardComponent {
8282
'text-white': true,
8383
[`bg-${color}`]: !!color,
8484
'p-3': padding,
85-
'p-4': !padding
85+
'p-4': !padding,
86+
'rounded-start-1': !padding
8687
} as Record<string, boolean>;
8788
});
8889

@@ -102,7 +103,7 @@ export class WidgetStatFComponent extends CardComponent {
102103
return {
103104
'fs-6': !textColor,
104105
'fw-semibold': true,
105-
[`text-${this.textColor}`]: !!textColor
106+
[`text-${textColor}`]: !!textColor
106107
} as Record<string, boolean>;
107108
});
108109
}

0 commit comments

Comments
 (0)