Skip to content

Commit

Permalink
Fix features projects on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Jul 13, 2024
1 parent 19bbc68 commit 455185d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/components/ui/project/project.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
export let donationUrl: string | undefined = undefined
</script>

<div class="flex flex-row mb-4">
<div class="flex flex-col items-center md:items-start md:flex-row mb-4">
<div class={cn(
"mr-4 bg-accent rounded-lg h-56 w-56",
"mb-4 md:mr-4 md:mb-0 bg-accent rounded-lg h-56 w-56",
padImage ? "p-4" : "",
)}>
{#if image !== undefined}
Expand Down Expand Up @@ -72,5 +72,7 @@
<div class="prose dark:prose-invert mt-2">
<slot></slot>
</div>

<hr class="mt-4 mb-2 md:hidden" />
</div>
</div>
2 changes: 2 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ ${Prism.highlight(mavenCode, Prism.languages.xml, "xml")}
Please note that we are not responsible for the projects linked to below, and you use them at your own risk.
</p>

<hr class="mt-4 mb-5 md:hidden" />

<Project
name="LilyBot"
image="/projects/lilybot.png"
Expand Down

0 comments on commit 455185d

Please sign in to comment.