File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/components/DoughnutMetrics Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 );
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments