master
mahdi 3 years ago
parent 408638b3ac
commit d2ec08f10f
  1. 18
      src/components/CourseChapter/index.js

@ -45,14 +45,16 @@ const CourseChapter = ({ chapters }) => {
${lesson.passed ? "bg-red-600" : "bg-blue-600"} ${lesson.passed ? "bg-red-600" : "bg-blue-600"}
`} `}
></div> ></div>
<span {Number(i) !== chapter.lessons.length - 1 && (
className="w-1" <span
style={{ className="w-1"
borderRight: "2px dotted yellow", style={{
transform: "translateX(-1px)", borderRight: "2px dotted yellow",
height: "65px", transform: "translateX(-1px)",
}} height: "65px",
></span> }}
></span>
)}
</div> </div>
{/* left div content */} {/* left div content */}
<div <div

Loading…
Cancel
Save