Skip to content

Commit 2e4ec2f

Browse files
committed
Update App.js
1 parent d24bf98 commit 2e4ec2f

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

src/app/App.js

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ const useStyles = makeStyles(theme => ({
5050
overflowY: 'auto',
5151
paddingBottom: '20px',
5252
},
53-
tab: {
54-
display: 'flex',
55-
alignItems: 'center',
56-
padding: '0 40px',
57-
position: 'relative'
58-
},
59-
tabChip: {
60-
border: 'none',
61-
},
62-
tabIcon: {
63-
},
6453
leftPanel: {
6554
},
6655
rightPanel: {
@@ -125,14 +114,20 @@ const App = () => {
125114
<Tab
126115
key={run.id}
127116
icon={
128-
<span className={classes.tab}>
117+
<Box
118+
sx={{
119+
display: 'flex',
120+
alignItems: 'center',
121+
padding: '0 40px',
122+
position: 'relative',
123+
}}
124+
>
129125
<Chip
130-
classes={{ root: classes.tabChip }}
126+
sx={{ border: 'none' }}
131127
icon={
132128
<CircularProgress
133129
color="inherit"
134130
size={20}
135-
className={classes.tabIcon}
136131
variant={run.running ? 'indeterminate' : 'determinate'}
137132
value={0}
138133
/>
@@ -143,7 +138,7 @@ const App = () => {
143138
}}
144139
variant="outlined"
145140
/>
146-
</span>
141+
</Box>
147142
}
148143
/>
149144
));

0 commit comments

Comments
 (0)