maj liste cours
This commit is contained in:
@@ -274,11 +274,7 @@ const ListeCours = () => {
|
||||
<Typography variant="h6" sx={{ mb: 1 }}>
|
||||
{page.name}
|
||||
</Typography>
|
||||
<Typography
|
||||
variant="body2"
|
||||
sx={{ whiteSpace: "pre-line" }}
|
||||
dangerouslySetInnerHTML={{ __html: page.content }}
|
||||
/>
|
||||
|
||||
<Box sx={{ display: "flex", gap: 1, mt: 1 }}>
|
||||
<Button
|
||||
size="small"
|
||||
@@ -344,7 +340,6 @@ const ListeCours = () => {
|
||||
<Typography
|
||||
variant="body2"
|
||||
sx={{ mb: 1 }}
|
||||
dangerouslySetInnerHTML={{ __html: assign.intro || "" }}
|
||||
/>
|
||||
<Button
|
||||
size="small"
|
||||
@@ -385,8 +380,8 @@ const ListeCours = () => {
|
||||
sx={{
|
||||
position: "absolute",
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: "100vw",
|
||||
left: "8%",
|
||||
width: "80%",
|
||||
height: "100vh",
|
||||
bgcolor: "background.paper",
|
||||
p: 4,
|
||||
@@ -410,7 +405,7 @@ const ListeCours = () => {
|
||||
</Button>
|
||||
</Box>
|
||||
<Box
|
||||
sx={{ maxWidth: "900px", margin: "0 auto", paddingBottom: 8 }}
|
||||
sx={{margin: "0 auto", paddingBottom: 8 }}
|
||||
dangerouslySetInnerHTML={{
|
||||
__html:
|
||||
selectedPage?.content || selectedAssignment?.intro || "",
|
||||
|
||||
Reference in New Issue
Block a user