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

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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy