refactor(web/progress): hide overflow on progress bar

This commit is contained in:
Luke
2023-01-04 19:50:41 +01:00
parent 44c91f1cf4
commit 47047045c4

View File

@@ -13,8 +13,9 @@ const useStyles = createStyles((theme) => ({
container: { container: {
width: 350, width: 350,
height: 45, height: 45,
borderRadius: theme.radius.xs, borderRadius: theme.radius.sm,
backgroundColor: theme.colors.dark[5], backgroundColor: theme.colors.dark[5],
overflow: 'hidden',
}, },
wrapper: { wrapper: {
width: '100%', width: '100%',
@@ -27,7 +28,6 @@ const useStyles = createStyles((theme) => ({
}, },
bar: { bar: {
height: '100%', height: '100%',
borderRadius: theme.radius.xs,
backgroundColor: theme.colors[theme.primaryColor][theme.fn.primaryShade()], backgroundColor: theme.colors[theme.primaryColor][theme.fn.primaryShade()],
}, },
labelWrapper: { labelWrapper: {