1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

UI Change for Title Question

This commit is contained in:
Kamran Ahmed
2023-09-18 18:27:48 +01:00
parent ea5c3c2c01
commit 3e622ecc2c
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ const hasTnsBanner = !!tnsBannerLink;
...(hasTnsBanner
? [
{
'sm:-mb-[103px]': hasTitleQuestion,
'sm:-mb-[110px]': hasTitleQuestion,
'sm:-mb-[81px]': !hasTitleQuestion,
},
]

View File

@@ -61,7 +61,7 @@ export function RoadmapTitleQuestion(props: RoadmapTitleQuestionProps) {
</h2>
)}
<div
className="bg-gray-100 [&>p]:text-gray-800 p-3 text-base [&>h2]:mb-1 [&>h2]:mt-5 [&>h2]:text-base [&>h2]:font-semibold [&>p:last-child]:mb-0 [&>p>a]:font-semibold [&>p>a]:underline [&>p>a]:underline-offset-2 [&>p]:mb-3 [&>p]:font-normal [&>p]:leading-relaxed"
className="bg-gray-100 [&>p]:text-gray-800 p-3 text-base [&>h2]:mb-2 [&>h2]:mt-5 [&>h2]:text-[17px] [&>h2]:font-medium [&>p:last-child]:mb-0 [&>p>a]:font-semibold [&>p>a]:underline [&>p>a]:underline-offset-2 [&>p]:mb-3 [&>p]:font-normal [&>p]:leading-relaxed"
dangerouslySetInnerHTML={{ __html: markdownToHtml(answer, false) }}
></div>
</div>