Skip to content

Commit

Permalink
fix: left align the chapter name for consistency in the javascript co…
Browse files Browse the repository at this point in the history
…urse #409

left align the asynchronous behavior and event loop chapter in javascript course page
  • Loading branch information
reshmarajank committed Nov 9, 2021
1 parent 85768b2 commit 5e20e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion component/layout/SideBar/SideBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function SideBar({ onToggle, toggle, course, courseRef }) {
{titles.map((title) => (
<li
key={title.chapterId}
className={`flex flex-row justify-between items-center text-center text-gray-700 border-l-4 border-gray-700 hover:border-purple-700 hover:text-purple-700 hover:bg-gray-100 p-4`}
className={`flex flex-row justify-between items-center text-gray-700 border-l-4 border-gray-700 hover:border-purple-700 hover:text-purple-700 hover:bg-gray-100 p-4`}
>
<Link
href={`/curriculum/${course.courseUrl}/${title.chapterUrl}`}
Expand Down
1 change: 1 addition & 0 deletions courses/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ let courses = [
chapterId: 14,
chapterUrl: "asynchronous-behaviour-and-event-loop",
chapterName: "Asynchronous Behaviour And Event Loop"

}
]
},
Expand Down

0 comments on commit 5e20e90

Please sign in to comment.