Skip to content

Commit 03b6109

Browse files
committed
fix: nanofix
1 parent 296cf11 commit 03b6109

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/DoughnutMetrics/DoughnutMetrics.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
--doughnut-wrapper-indent: 25px;
3838
}
3939

40-
&__doughnut_status_warning {
40+
&_status_warning {
4141
--doughnut-color: var(--g-color-base-warning-heavy);
4242
--doughnut-backdrop-color: var(--g-color-sfx-fade);
4343
--doughnut-overlap-color: var(--g-color-base-warning-heavy-hover);
4444
}
45-
&__doughnut_status_danger {
45+
&_status_danger {
4646
--doughnut-color: var(--g-color-base-danger-heavy);
4747
--doughnut-backdrop-color: var(--g-color-sfx-fade);
4848
--doughnut-overlap-color: var(--g-color-base-danger-heavy-hover);

src/components/DoughnutMetrics/DoughnutMetrics.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export function DoughnutMetrics({
8282

8383
return (
8484
<SizeContext.Provider value={size}>
85-
<div className={b(null, className)} style={{position: 'relative'}}>
86-
<div style={doughnutStyle} className={b('doughnut', {status, size})}></div>
85+
<div className={b({status}, className)} style={{position: 'relative'}}>
86+
<div style={doughnutStyle} className={b('doughnut', {size})}></div>
8787
<div className={b('text-wrapper')}>{children}</div>
8888
</div>
8989
</SizeContext.Provider>

0 commit comments

Comments
 (0)