diff --git a/src/sections/Learn/LearnPage-Sections/learning-path.js b/src/sections/Learn/LearnPage-Sections/learning-path.js index ca017c949b90f..b50746fc0ebdf 100644 --- a/src/sections/Learn/LearnPage-Sections/learning-path.js +++ b/src/sections/Learn/LearnPage-Sections/learning-path.js @@ -89,7 +89,7 @@ const LearningPaths = () => { {data.learnPaths.nodes.map((tutorial) => ( - + ))} @@ -102,4 +102,4 @@ const LearningPaths = () => { ); }; -export default LearningPaths; \ No newline at end of file +export default LearningPaths; diff --git a/src/sections/Learn/LearnPage-Sections/workshops.js b/src/sections/Learn/LearnPage-Sections/workshops.js index 463d08ef17dc6..0399a33789c42 100644 --- a/src/sections/Learn/LearnPage-Sections/workshops.js +++ b/src/sections/Learn/LearnPage-Sections/workshops.js @@ -109,9 +109,10 @@ export const WorkshopsListWrapper = styled.div` padding: 8rem 4.5rem; } .workshops-card { - flex: 0 0 50%; - max-width: 50%; - margin: 1rem auto; + --workshop-columns: 3; + flex: 0 0 calc(100% / var(--workshop-columns)); + max-width: calc(100% / var(--workshop-columns)); + margin: 1rem 0; } .feedback-section { @@ -253,6 +254,8 @@ const WorkshopsSection = () => {