Skip to content

Commit

Permalink
Minor requisite tree branches fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-elzeni committed Dec 12, 2024
1 parent 936a778 commit 3ad0863
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions apps/frontend/src/components/ReqTreeDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,15 @@ const ReqTreeDetail: React.FC<ReqTreeProps> = ({ root }) => {
)}

{/* Line connector right to postreqs */}
<div
style={{
width: "20px",
height: "1px",
backgroundColor: "#d1d5db",
}}
></div>
{root.postreqs && root.postreqs.length > 1 && (
<div
style={{
width: "20px",
height: "1px",
backgroundColor: "#d1d5db",
}}
></div>
)}

<Link href={`/course/${postreq.courseID}`} passHref>
<div
Expand Down

0 comments on commit 3ad0863

Please sign in to comment.