File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/features/training-purchases/views/training-purchases Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { ReactComponent as LogoWhite } from "assets/icons/logo-white.svg";
1111export const StyledGrid = styled ( Grid ) ( {
1212 marginTop : 0 ,
1313 marginBottom : "20px" ,
14- justifyContent : "space-between" ,
1514 position : "relative" ,
1615} ) ;
1716
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const TrainingPurchases: FC<ITrainings> = ({ data }) => {
2525 const [ anchorEl , setAnchorEl ] = useState < Maybe < HTMLElement > > ( null ) ;
2626 const [ openMentorsById , setOpenMentorsById ] = useState < string | null > ( null ) ;
2727
28- const gridMdValue = trainingPurchases ?. length ! >= 3 ? 4 : 6 ;
28+ const gridValue = trainingPurchases ?. length ! >= 3 ? 4 : 6 ;
2929
3030 // const [openCalendarById, setOpenCalendarById] = useState<string | null>(null);
3131 // const calendarRefs = useRef<{ [key: string]: RefObject<HTMLElement> }>({});
@@ -110,7 +110,7 @@ const TrainingPurchases: FC<ITrainings> = ({ data }) => {
110110 const [ firstMentor , ...otherMentors ] = mentors || [ ] ;
111111
112112 return (
113- < Grid item key = { id } xs = { 12 } md = { gridMdValue } >
113+ < Grid item key = { id } xs = { 12 } md = { 6 } lg = { gridValue } >
114114 < StyledCardActionArea >
115115 < StyledPaper >
116116 < StyledImgBox > { renderCourseImage ( picture ) } </ StyledImgBox >
You can’t perform that action at this time.
0 commit comments