Skip to content

Commit

Permalink
Merge pull request #30 from DakshChan/feature/IBS-47-safariCards
Browse files Browse the repository at this point in the history
[IBS-47] Fix cards on Safari
  • Loading branch information
ryu-kyu authored Jul 14, 2023
2 parents 3e19ef2 + 9ded011 commit a8f3a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Module/Course/Homecard.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Box, Card, CardActionArea, CardContent, CardMedia, Typography } from '@mui/material';
import { Card, CardActionArea, CardContent, CardMedia, Typography } from '@mui/material';
import { Link } from 'react-router-dom';
import HomeCardLink from './HomeCardLink';

Expand All @@ -16,7 +16,7 @@ const Homecard = ({ data }) => {
const submitMarksPageLink = `/instructor/course/${data.course_id}/submit-marks`;

return (
<Card>
<Card sx={{ width: { xs: 300, sm: 300, md: 400, lg: 400 } }}>
<CardActionArea component={Link} to={coursePageLink}>
<CardMedia
component="img"
Expand Down

0 comments on commit a8f3a01

Please sign in to comment.