Skip to content

Commit 98ef05b

Browse files
authored
fix: align Powered by WebContainers to the bottom (#301)
1 parent 829acef commit 98ef05b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/astro/src/default/components/TutorialContent.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { lesson } = Astro.props;
1111
const { Markdown, editPageLink, prev, next } = lesson;
1212
---
1313

14-
<div class="h-full overflow-auto scrollbar-transparent p-6 sm:p-8">
14+
<div class="flex flex-col h-full overflow-auto scrollbar-transparent p-6 sm:p-8">
1515
<div class="markdown-content text-tk-elements-content-textColor">
1616
<Markdown />
1717
</div>
@@ -30,7 +30,7 @@ const { Markdown, editPageLink, prev, next } = lesson;
3030
)
3131
}
3232

33-
<div class="grid grid-cols-[1fr_1fr] gap-4 mt-8">
33+
<div class="grid grid-cols-[1fr_1fr] gap-4 mt-8 mb-6">
3434
<div class="flex">
3535
{prev && <NavCard lesson={prev} type="prev" />}
3636
</div>
@@ -40,7 +40,7 @@ const { Markdown, editPageLink, prev, next } = lesson;
4040
</div>
4141

4242
<a
43-
class="inline-block mt-6 font-size-3.5 underline text-tk-elements-link-secondaryColor hover:text-tk-elements-link-secondaryColorHover"
43+
class="inline-block mt-auto font-size-3.5 underline text-tk-elements-link-secondaryColor hover:text-tk-elements-link-secondaryColorHover"
4444
href="https://webcontainers.io/"
4545
>
4646
{lesson.data.i18n!.webcontainerLinkText}

0 commit comments

Comments
 (0)