Update font and page size for guide page

pull/3686/head
Kamran Ahmed 2 years ago
parent 9321ac6aa1
commit 648985cefc
  1. 2
      src/components/GuideHeader.astro
  2. 2
      src/components/MarkdownFile.astro
  3. 2
      src/pages/guides/[guideId].astro

@ -39,7 +39,7 @@ const { author } = frontmatter;
<h1 class='text-2xl sm:text-5xl my-0 sm:my-3.5 font-bold'> <h1 class='text-2xl sm:text-5xl my-0 sm:my-3.5 font-bold'>
{frontmatter.title} {frontmatter.title}
</h1> </h1>
<p class='hidden sm:block text-gray-400 text-md'> <p class='hidden sm:block text-gray-400 text-xl'>
{frontmatter.description} {frontmatter.description}
</p> </p>
</div> </div>

@ -1,5 +1,5 @@
<div <div
class='prose-blockquote:font-normal prose container prose-code:bg-transparent prose-h2:text-3xl prose-h2:mt-4 prose-h2:mb-2 prose-h3:mt-2 prose-img:mt-1' class='prose-xl prose-blockquote:font-normal prose container prose-code:bg-transparent prose-h2:text-3xl prose-h2:mt-4 prose-h2:mb-2 prose-h3:mt-2 prose-img:mt-1'
> >
<slot /> <slot />
</div> </div>

@ -30,7 +30,7 @@ const { frontmatter: guideData } = guide;
> >
<GuideHeader guide={guide} /> <GuideHeader guide={guide} />
<div class='bg-gray-50 py-5 sm:py-10'> <div class='py-5 sm:py-10 max-w-[700px] mx-auto'>
<MarkdownFile> <MarkdownFile>
<guide.Content /> <guide.Content />
</MarkdownFile> </MarkdownFile>

Loading…
Cancel
Save