diff --git a/libs/remix-ui/static-analyser/src/lib/components/BasicTitle.tsx b/libs/remix-ui/static-analyser/src/lib/components/BasicTitle.tsx index 89be7eeced..59b4a12402 100644 --- a/libs/remix-ui/static-analyser/src/lib/components/BasicTitle.tsx +++ b/libs/remix-ui/static-analyser/src/lib/components/BasicTitle.tsx @@ -42,21 +42,21 @@ export function BasicTitle(props: BasicTitleProps) { {props.warningStateEntries.length > 0 ? ( !props.hideWarnings ? ( !props.showLibsWarnings ? ( - 0 ? "badge-warning" : "badge-danger" - } rounded-circle ml-1 text-center`} + } badge-pill ml-1 px-1 text-center`} > {calculateWarningStateEntries(props.warningStateEntries).length} - + ) : ( - + {warningCount} - + ) ) : null ) : null} diff --git a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx index 1b0959f94c..e79c331c93 100644 --- a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx +++ b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx @@ -505,12 +505,12 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { {hints.length > 0 ? ( hideWarnings ? ( x.type === 'error').length > 0 - ? `badge-danger` : 'badge-warning'} rounded-circle ml-1 text-center`}> + ? `badge-danger` : 'badge-warning'} badge-pill px-1 ml-1 text-center`}> {hintErrors.length} ) : ( x.type === 'error').length > 0 - ? `badge-danger` : 'badge-warning'} rounded-circle ml-1 text-center`}> + ? `badge-danger` : 'badge-warning'} badge-pill px-1 ml-1 text-center`}> {hints.length} ) @@ -545,15 +545,15 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { Slither {slitherWarnings.length > 0 ? ( hideWarnings ? ( - + {slitherErrors.length} ) : showLibsWarning === true && hideWarnings === false ? ( - 0 ? `badge-danger` : 'badge-warning'} rounded-circle ml-1 text-center`}> + 0 ? `badge-danger` : 'badge-warning'} badge-pill px-1 ml-1 text-center`}> {slitherWarnings.length} ) : ( - 0 ? `badge-danger` : 'badge-warning'} rounded-circle ml-1 text-center`}> + 0 ? `badge-danger` : 'badge-warning'} badge-pill px-1 ml-1 text-center`}> {noLibSlitherWarnings.length} )