Skip to content

Commit

Permalink
Change the Breadcrumb names into one line on mobile view (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjana0823 authored Sep 15, 2024
1 parent 7a275b9 commit fd1cbda
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/pages/MenteeProfile/MenteeProfile.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,20 @@ const MenteeProfile: React.FC = () => {

return (
<>
<nav aria-label="Breadcrumb">
<ol className="flex items-center gap-1 text-sm text-gray-600">
<nav aria-label="Breadcrumb ">
<div className="flex items-center md:hidden">
<Link
to={`/mentors/${mentee?.mentor.uuid ?? ''}`}
className="flex items-center transition hover:text-gray-700"
>
<span className="transform rotate-180">
<ChevronRightIcon />
</span>
<span className="ml-2">Back</span>
</Link>
</div>

<ol className="flex items-center gap-1 text-xs sm:text-sm hidden md:flex text-gray-600">
<li>
<Link
to="/mentors"
Expand Down

0 comments on commit fd1cbda

Please sign in to comment.