Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
added space between title and key
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman254 committed Aug 15, 2023
1 parent 1237f95 commit 7b7ea4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/PageComp/SingleCoursePage/Syllabus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ const Syllabus = ({ content }) => {
'before:h2 before:mb-2 before:inline-flex before:aspect-square before:h-12 before:items-center before:justify-center before:rounded-md before:bg-primary/30 before:text-content before:content-[attr(data-index)]'
)}
>
<UnstyledLink className='h3' key={s.title} href={s.videoLink}>
<UnstyledLink
className='h3 devopsSyllabus'
key={s.title}
href={s.videoLink}
>
{s.title}
</UnstyledLink>
<p className='mt-2'>{s.description}</p>
Expand Down
3 changes: 3 additions & 0 deletions src/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ html {
.h3 {
@apply font-sans text-lg font-semibold text-content md:text-xl;
}
.devopsSyllabus {
padding-left: 12px;
}
h4,
.h4 {
@apply font-sans text-base font-semibold text-content md:text-lg;
Expand Down

0 comments on commit 7b7ea4d

Please sign in to comment.