Styling for the topic page

pull/3356/head
Kamran Ahmed 2 years ago
parent a7f9e7d735
commit 07b6d067c4
  1. 4
      src/best-practices/frontend-performance/content/minimize-iframe-count.md
  2. 2
      src/pages/best-practices/[bestPracticeId]/[...topicId].astro

@ -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.

@ -31,7 +31,7 @@ const { file, bestPracticeId, bestPractice, heading } = Astro.props as BestPract
permalink={`/${topicId}`} permalink={`/${topicId}`}
> >
<div class='bg-gray-50'> <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'> <main id='main-content'>
<file.Content /> <file.Content />
</main> </main>

Loading…
Cancel
Save