diff --git a/apps/web/src/app/practice/[studentId]/dashboard/DashboardClient.tsx b/apps/web/src/app/practice/[studentId]/dashboard/DashboardClient.tsx index 834944c5..67bc6df8 100644 --- a/apps/web/src/app/practice/[studentId]/dashboard/DashboardClient.tsx +++ b/apps/web/src/app/practice/[studentId]/dashboard/DashboardClient.tsx @@ -291,7 +291,7 @@ function TabNavigation({ padding: '0.25rem', backgroundColor: isDark ? 'gray.800' : 'gray.100', borderRadius: '10px', - marginBottom: '1.5rem', + marginBottom: { base: '1rem', md: '1.5rem' }, })} > {tabs.map((tab) => ( @@ -304,11 +304,12 @@ function TabNavigation({ className={css({ flex: 1, display: 'flex', + flexDirection: { base: 'column', sm: 'row' }, alignItems: 'center', justifyContent: 'center', - gap: '0.5rem', - padding: '0.75rem 1rem', - fontSize: '0.875rem', + gap: { base: '0.125rem', sm: '0.5rem' }, + padding: { base: '0.5rem 0.25rem', sm: '0.75rem 1rem' }, + fontSize: { base: '0.6875rem', sm: '0.875rem' }, fontWeight: 'medium', borderRadius: '8px', border: 'none', @@ -336,7 +337,7 @@ function TabNavigation({ }, })} > - {tab.icon} + {tab.icon} {tab.label} ))} @@ -1020,12 +1021,19 @@ function SkillsTab({
+
{practicingSkills.length} skills in practice • Click any skill for details