1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-16 14:14:11 +02:00

Styling for the topic page

This commit is contained in:
Kamran Ahmed
2023-01-25 01:54:30 +04:00
parent a7f9e7d735
commit 07b6d067c4
2 changed files with 4 additions and 2 deletions

View File

@@ -1 +1,3 @@
# Minimize iframe count
# Avoid iframes
Use iframes only if you don't have any other technical possibility. Try to avoid iframes as much as you can. Iframes are not only bad for performance, but also for accessibility and usability. Iframes are also not indexed by search engines.

View File

@@ -31,7 +31,7 @@ const { file, bestPracticeId, bestPractice, heading } = Astro.props as BestPract
permalink={`/${topicId}`}
>
<div class='bg-gray-50'>
<div class='container pb-16 prose prose-p:mt-0 prose-h1:mb-4 prose-h2:mb-3 prose-h2:mt-0'>
<div class='container py-16 prose prose-p:mt-0 prose-h1:mb-4 prose-h2:mb-3 prose-h2:mt-0'>
<main id='main-content'>
<file.Content />
</main>