1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: scale metrics

This commit is contained in:
Fredrik Oseberg 2021-10-20 13:15:28 +02:00
parent 058d3540a3
commit 37d04b56ba
2 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export const useStyles = makeStyles(theme => ({
margin: '1rem', margin: '1rem',
width: '30%', width: '30%',
[theme.breakpoints.down(1000)]: { [theme.breakpoints.down(1000)]: {
width: '40%', width: '50%',
}, },
[theme.breakpoints.down(750)]: { [theme.breakpoints.down(750)]: {
width: '100%', width: '100%',

View File

@ -71,7 +71,11 @@ const FeatureEnvironmentMetrics = ({
</div> </div>
<div className={styles.chartContainer}> <div className={styles.chartContainer}>
<PieChartIcon className={styles.icon} data-loading /> <PieChartIcon
style={{ transform: 'scale(1.4)' }}
className={styles.icon}
data-loading
/>
</div> </div>
</div> </div>
</div> </div>
@ -114,6 +118,7 @@ const FeatureEnvironmentMetrics = ({
width: '60px', width: '60px',
marginLeft: '1rem', marginLeft: '1rem',
...primaryStyles, ...primaryStyles,
transform: 'scale(1.7)',
}} }}
/> />
</div> </div>