aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-28 10:45:59 -0800
committerAdam Soltys <[email protected]>2023-12-28 10:46:07 -0800
commit58367d18b813951ee850c13d97f3135540d722ba (patch)
treec80f97f3e31b0ca05a90bc9db50ee3cf438e8b7f /src
parentca4bf9322aa6b86ba497735e4dafd4fa16233abd (diff)
downloadcoinos-ui-58367d18b813951ee850c13d97f3135540d722ba.tar.gz
coinos-ui-58367d18b813951ee850c13d97f3135540d722ba.zip
detail button min width
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte4
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 fb301905..5177f9a0 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -81,9 +81,9 @@
<div
class="flex text-3xl font-bold text-center mx-auto justify-center gap-2"
>
- <div class="my-auto">{display || username}</div>
+ <div class="my-auto break-words w-full">{display || username}</div>
<button on:click={toggleDetails}>
- <Icon icon="stats" style="w-12" />
+ <Icon icon="stats" style="w-12 min-w-[50px]" />
</button>
</div>