Skip to content

Commit

Permalink
fix: mobile responsive design (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dararod authored Jul 10, 2023
1 parent aad0d15 commit 5ffe6f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/lib/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<li>
<Anchor
href="https://discord.com/invite/qJgv2p9Ebf"
class="bg-discord-200! hover:bg-discord-400!"
class="text-discord-200 hover:text-discord-400 mb-0"
variant={AnchorVariant.Custom}
size={AnchorSize.Small}
icon={Discord}>Discord</Anchor
Expand Down
8 changes: 4 additions & 4 deletions src/lib/components/News.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
<h3 class="text-gray-800 text-lg">{entry.title}</h3>
<p class="text-gray-700">{entry.body}</p>
</article>
<footer class="text-gray-600 flex justify-between items-center">
<Anchor href={entry.url} size={AnchorSize.Small}>Read more</Anchor
>
<div class="flex space-x-4 items-center">
<footer class="text-gray-600 flex flex-col md:flex-row items-start md:items-center justify-between">
<Anchor class="text-left" href={entry.url} size={AnchorSize.Small}>Read more</Anchor
>
<div class="flex space-x-4 items-center md:justify-end justify-between md:w-max w-full">
<time class="text-sm" datetime={entry.date.toISOString()}
>{entry.date.toDateString()}</time
>
Expand Down

0 comments on commit 5ffe6f0

Please sign in to comment.