Skip to content

Commit f5651e9

Browse files
committed
Move away from shorthand to more verbose css styling
1 parent 453b1e2 commit f5651e9

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/components/DatasetView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function DatasetView({
5151
sx={{
5252
display: 'flex',
5353
justifyContent: 'center',
54-
mt: '1em',
54+
marginTop: '1em',
5555
}}
5656
>
5757
<Box sx={{ width: '100%' }}>

src/components/HomeView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function HomeView({ dispatch, location }: IProps) {
112112

113113
return (
114114
<RootContainer>
115-
<Box sx={{ display: 'flex', mt: '1.25em', mb: '1.25em' }}>
115+
<Box sx={{ display: 'flex', marginTop: '1.25em', marginBottom: '1.25em' }}>
116116
{pageHeader}
117117
{searchable && (
118118
<SearchTable

src/components/JobView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function JobView({ jobs, dispatch, loading, searchString, refreshCnt }: IProps)
4141
sx={{
4242
display: 'flex',
4343
justifyContent: 'center',
44-
mt: '1em',
44+
marginTop: '1em',
4545
}}
4646
>
4747
<Box sx={{ width: '100%' }}>

src/components/UserList.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ function UserList({ canManageUsers, defaultOpen, removeUser, typeOfUsers, users
2727
>
2828
{typeOfUsers}
2929
</AccordionSummary>
30-
<AccordionDetails data-cy="user-email" sx={canManageUsers ? { pt: 0 } : undefined}>
30+
<AccordionDetails data-cy="user-email" sx={canManageUsers ? { paddingTop: 0 } : undefined}>
3131
<ManageUsersView removeUser={canManageUsers ? removeUser : undefined} users={users} />
3232
{users.length === 0 && (
3333
<Typography
3434
sx={{
3535
fontStyle: 'italic',
3636
color: 'error.contrastText',
37-
pb: '8px',
37+
paddingBottom: '8px',
3838
}}
3939
>
4040
(None)

src/components/dataset/overview/DatasetOverviewPanel.jsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function DatasetOverviewPanel(props) {
236236
</dt>
237237
</dl>
238238
{i < dataset.schema.relationships.length - 1 && (
239-
<Divider sx={{ mt: '14px', mb: '14px' }} />
239+
<Divider sx={{ marginTop: '14px', marginBottom: '14px' }} />
240240
)}
241241
</div>
242242
))}
@@ -247,9 +247,9 @@ function DatasetOverviewPanel(props) {
247247
</Grid>
248248
</TabPanel>
249249
<TabPanel value={value} index={1}>
250-
<Grid sx={{ pb: '14px' }}>
250+
<Grid sx={{ paddingBottom: '14px' }}>
251251
Use the dataset as is to create a full view snapshot
252-
<Box component="span" sx={{ ml: 2 }}>
252+
<Box component="span" sx={{ marginLeft: 2 }}>
253253
<FullViewSnapshotButton dataset={dataset} dispatch={dispatch} />
254254
</Box>
255255
</Grid>
@@ -289,7 +289,7 @@ function DatasetOverviewPanel(props) {
289289
open={isHelpVisible}
290290
isVisible={isHelpVisible}
291291
>
292-
<Grid container spacing={1} sx={{ p: '30px' }}>
292+
<Grid container spacing={1} sx={{ padding: '30px' }}>
293293
<Grid item xs={11}>
294294
{helpTitle}
295295
</Grid>

0 commit comments

Comments
 (0)