Skip to content

Commit

Permalink
FINAL? OWO
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-ash committed Nov 5, 2024
1 parent ddb93b1 commit f26b6a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/pages/Path.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,19 @@ export default function Path() {
onClose={handleDrawerClose}
>
<Box textAlign="center"
height="66vh"
p={4}>

<Typography variant="h6" gutterBottom>
{selectedLecture?.title.split(':')[0]}:
</Typography>
<Typography variant="h5" gutterBottom>
<Typography variant="h5" gutterBottom mb={6}>
{selectedLecture?.title.split(':')[1]}
</Typography>


<Button
variant="contained"
color="primary"
sx={{ position: 'fixed', margin: 'auto', width: 'calc(100% - 64px)',
bottom: '32px', left: '0', right: '0'
}}
sx={{ width: 'calc(100% - 64px)'}}
onClick={() => {
handleLectureClick(parsedLectureContent.lectures.indexOf(selectedLecture) + 1);
handleDrawerClose();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Sources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function Sources() {
</List>
</Box>
))}
<Box m={8} textAlign='bottom'>
<Box mt={8} textAlign='bottom'>
.
</Box>
</Box>
Expand Down

0 comments on commit f26b6a1

Please sign in to comment.