fix: made course list responsive for bigger screen sizes

This commit is contained in:
Jannat Patel
2025-01-09 12:24:21 +05:30
parent bb6e97992b
commit 54b7f811f7
3 changed files with 6 additions and 1 deletions

View File

@@ -71,7 +71,7 @@
<template #default="{ tab }">
<div
v-if="tab.courses && tab.courses.value.length"
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 my-5 mx-5"
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 gap-7 my-5 mx-5"
>
<router-link
v-for="course in tab.courses.value"

View File

@@ -11,6 +11,10 @@ module.exports = {
strokeWidth: {
1.5: '1.5',
},
screens: {
'2xl': '1536px',
'3xl': '1920px',
},
},
},
plugins: [],

View File

@@ -1244,6 +1244,7 @@ def get_batch_card_details(batchname):
"end_time",
"timezone",
"published",
"category",
],
as_dict=True,
)