File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {
77
77
</ TableRow >
78
78
) }
79
79
{ props . templates ?. map ( ( template ) => (
80
- < TableRow key = { template . id } className = { styles . templateRow } >
80
+ < TableRow key = { template . id } >
81
81
< TableCell >
82
82
< Box alignItems = "center" display = "flex" >
83
83
< Avatar variant = "square" className = { styles . templateAvatar } >
@@ -127,12 +127,6 @@ const useStyles = makeStyles((theme) => ({
127
127
lineHeight : `${ theme . spacing ( 3 ) } px` ,
128
128
} ,
129
129
} ,
130
- templateRow : {
131
- "& > td" : {
132
- paddingTop : theme . spacing ( 2 ) ,
133
- paddingBottom : theme . spacing ( 2 ) ,
134
- } ,
135
- } ,
136
130
templateAvatar : {
137
131
borderRadius : 2 ,
138
132
marginRight : theme . spacing ( 1 ) ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const WorkspacesPageView: React.FC<WorkspacesPageViewProps> = (props) =>
71
71
{ props . workspaces ?. map ( ( workspace ) => {
72
72
const status = getDisplayStatus ( theme , workspace . latest_build )
73
73
return (
74
- < TableRow key = { workspace . id } className = { styles . workspaceRow } >
74
+ < TableRow key = { workspace . id } >
75
75
< TableCell >
76
76
< div className = { styles . workspaceName } >
77
77
< Avatar variant = "square" className = { styles . workspaceAvatar } >
@@ -134,12 +134,6 @@ const useStyles = makeStyles((theme) => ({
134
134
lineHeight : `${ theme . spacing ( 3 ) } px` ,
135
135
} ,
136
136
} ,
137
- workspaceRow : {
138
- "& > td" : {
139
- paddingTop : theme . spacing ( 2 ) ,
140
- paddingBottom : theme . spacing ( 2 ) ,
141
- } ,
142
- } ,
143
137
workspaceAvatar : {
144
138
borderRadius : 2 ,
145
139
marginRight : theme . spacing ( 1 ) ,
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ export const getOverrides = (palette: PaletteOptions) => {
44
44
// Gives the appearance of a border!
45
45
borderRadius : 2 ,
46
46
border : `1px solid ${ palette . divider } ` ,
47
+
48
+ "& td" : {
49
+ paddingTop : 16 ,
50
+ paddingBottom : 16 ,
51
+ } ,
47
52
} ,
48
53
} ,
49
54
MuiTableCell : {
You can’t perform that action at this time.
0 commit comments