diff options
| author | Adam Soltys <[email protected]> | 2025-07-08 10:20:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-07-08 10:20:47 -0700 |
| commit | 3d924ed5aa1475124426e6cbbeae34647f1f82f2 (patch) | |
| tree | 74218b2bfc3e9e4c0a328c851647809077adf737 | |
| parent | 3f5fca6d0a57f80bf04d08dbc4d48f9b0aa521fd (diff) | |
| download | coinos-ui-3d924ed5aa1475124426e6cbbeae34647f1f82f2.tar.gz coinos-ui-3d924ed5aa1475124426e6cbbeae34647f1f82f2.zip | |
make username a button
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index 15752641..2b31d41d 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -131,10 +131,10 @@ <div class="flex text-3xl font-bold text-center mx-auto justify-center gap-1 items-center" > - <div class="flex gap-1 items-center" onclick={toggleDetails}> + <button class="flex gap-1 items-center" onclick={toggleDetails}> <div class="break-words">{display || username}</div> <iconify-icon noobserver icon="ph:list-bold" width="32"></iconify-icon> - </div> + </button> {#if subject.id === user?.id} <a href="/settings/profile" class="btn contents"> <iconify-icon noobserver icon="ph:pencil-bold" width="32" |
