Skip to content

Commit 4963b73

Browse files
committed
justify mui
1 parent 9f67d06 commit 4963b73

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@
7373
"pre-commit": "pretty-quick --staged"
7474
}
7575
}
76-
}
76+
}

src/components/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function SlateTranscriptEditor(props) {
346346
}
347347

348348
return (
349-
<Grid container direction="row" justify="flex-start" alignItems="flex-start" {...props.attributes}>
349+
<Grid container direction="row" justifyContent="flex-start" alignItems="flex-start" {...props.attributes}>
350350
{showTimecodes && (
351351
<Grid item contentEditable={false} xs={4} sm={3} md={3} lg={2} xl={2} className={'p-t-2 text-truncate'}>
352352
<code
@@ -721,9 +721,9 @@ function SlateTranscriptEditor(props) {
721721
</Tooltip>
722722
)}
723723

724-
<Grid container direction="row" justify="center" alignItems="stretch" spacing={2}>
725-
<Grid item xs={12} sm={4} md={4} lg={4} xl={4} container direction="column" justify="space-between" alignItems="stretch">
726-
<Grid container direction="column" justify="flex-start" alignItems="stretch" spacing={2}>
724+
<Grid container direction="row" justifyContent="center" alignItems="stretch" spacing={2}>
725+
<Grid item xs={12} sm={4} md={4} lg={4} xl={4} container direction="column" justifyContent="space-between" alignItems="stretch">
726+
<Grid container direction="column" justifyContent="flex-start" alignItems="stretch" spacing={2}>
727727
<Grid item container>
728728
<video
729729
style={{ backgroundColor: 'black' }}
@@ -735,7 +735,7 @@ function SlateTranscriptEditor(props) {
735735
playsInline
736736
></video>
737737
</Grid>
738-
<Grid container direction="row" justify="space-between" alignItems="flex-start" spacing={1} item>
738+
<Grid container direction="row" justifyContent="space-between" alignItems="flex-start" spacing={1} item>
739739
<Grid item>
740740
<p>
741741
<code style={{ color: 'grey' }}>{shortTimecode(currentTime)}</code>

0 commit comments

Comments
 (0)