diff --git a/src/components/CourseChapter/index.css b/src/components/CourseChapter/index.css index 1db20f6..777bfea 100644 --- a/src/components/CourseChapter/index.css +++ b/src/components/CourseChapter/index.css @@ -1,14 +1,15 @@ .hasScrollbar::-webkit-scrollbar { - width:7.5px; + width:5px; background-color: rgba(0,0,0,0.08); border-radius: 5px; - height: 50px; + margin-top: 200px; } .hasScrollbar::-webkit-scrollbar-thumb{ background:#196EC0; border-radius: 10px; + height: 20px; } .hasScrollbar::-webkit-scrollbar-track { diff --git a/src/components/CourseChapter/index.js b/src/components/CourseChapter/index.js index e368420..f1331d9 100644 --- a/src/components/CourseChapter/index.js +++ b/src/components/CourseChapter/index.js @@ -8,7 +8,7 @@ const CourseChapter = ({ chapters }) => {
{/* top */}
@@ -21,9 +21,9 @@ const CourseChapter = ({ chapters }) => {
{/* divider */} -
+
{/* course title */} -
{chapters.map((chapter, index) => ( @@ -74,7 +74,7 @@ const CourseChapter = ({ chapters }) => { {lesson.title}

{lesson.duration}