Skip to content

Commit

Permalink
style: fix user pages links gap (#280)
Browse files Browse the repository at this point in the history
Refactor `SocialMediaButton` to make icons optional, and use them for
the pages buttons. This also fixes the gap issues.

**Before**

![image](https://github.com/user-attachments/assets/fc5bc472-b238-4b9a-b15c-4376b7bea2d7)

**After**

![image](https://github.com/user-attachments/assets/a0151963-3d6f-41f2-bb2e-553d88f41444)
  • Loading branch information
zeucapua authored Jan 2, 2025
1 parent ef4db3f commit 8903bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(app)/[username]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
{#if data.pages.length > 0}
<div>
<h2 class="mb-4 text-center font-rubik text-2xl font-bold">Pages</h2>
<ul class="flex flex-col items-center gap-2">
<ul class="flex flex-col items-center gap-8">
{#each data.pages as p}
<li>
<a class="link" href={`/${$page.params.username}/${p.slug}`}>
Expand Down

0 comments on commit 8903bd4

Please sign in to comment.