fix: Minor refactoring of styling
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
This commit is contained in:
@@ -171,10 +171,9 @@ export function Gauge(props: GaugeProps) {
|
||||
<Box className={classes.description}>{description}</Box>
|
||||
) : (
|
||||
<Box
|
||||
className={classNames(
|
||||
classes.overlay,
|
||||
size === 'small' ? classes.overlaySmall : undefined,
|
||||
)}
|
||||
className={classNames(classes.overlay, {
|
||||
[classes.overlaySmall]: size === 'small',
|
||||
})}
|
||||
>
|
||||
{isNaN(value) ? 'N/A' : `${asActual}${unit}`}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user