diff --git a/src/app/(with-header)/header-sidebar.tsx b/src/app/(with-header)/header-sidebar.tsx index b104062..3e67294 100644 --- a/src/app/(with-header)/header-sidebar.tsx +++ b/src/app/(with-header)/header-sidebar.tsx @@ -330,17 +330,17 @@ export const HeaderSidebar = ({ children }: HeaderSidebarProps) => { setMenuOpen(false); cookies.remove('actaeon-navigated-from'); }} - className={`text-2xl transition hover:text-secondary ${route === routeGroup ? 'font-bold' : 'font-semibold'}`}> + className={`block py-1 sm:py-0 text-3xl sm:text-2xl transition hover:text-secondary ${route === routeGroup ? 'font-bold' : 'font-semibold'}`}> {route.name} }
{route.routes?.filter(filter)?.map(subroute =>
{subroute.routes?.length ?
- {subroute.name} + className={`text-2xl sm:text-xl`}> +
{subroute.name}
{subroute.routes.filter(filter).map(route => ( setMenuOpen(false)} - className={`text-[1.075rem] transition ${path?.startsWith(route.url) ? 'font-semibold text-primary' : 'hover:text-secondary'}`}> + className={`py-2 sm:py-0 text-xl sm:text-[1.075rem] transition ${path?.startsWith(route.url) ? 'font-semibold text-primary' : 'hover:text-secondary'}`}> {route.name} ))}
@@ -348,7 +348,7 @@ export const HeaderSidebar = ({ children }: HeaderSidebarProps) => { setMenuOpen(false); cookies.remove('actaeon-navigated-from'); }} - className={`text-xl transition ${path?.startsWith(subroute.url) ? 'font-semibold text-primary' : 'hover:text-secondary'}`}> + className={`block py-1 sm:py-0 text-2xl sm:text-xl transition ${path?.startsWith(subroute.url) ? 'font-semibold text-primary' : 'hover:text-secondary'}`}> {subroute.name} }
)} @@ -366,7 +366,7 @@ export const HeaderSidebar = ({ children }: HeaderSidebarProps) => { }
-