Styling for the topic page

This commit is contained in:
Kamran Ahmed
2023-01-25 01:54:30 +04:00
parent 7182312a18
commit bf7b1b02bd
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>