From 808c5e6abd98efe8fa51bc72e588c398922646c3 Mon Sep 17 00:00:00 2001 From: VDawg Date: Tue, 14 Nov 2023 08:56:32 +0100 Subject: [PATCH] set min width for quotes in discord profiles --- src/lib/components/DiscordProfilePicture.svelte | 2 +- src/routes/CommunitySlice.svelte | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/components/DiscordProfilePicture.svelte b/src/lib/components/DiscordProfilePicture.svelte index 9263422..ba9d453 100644 --- a/src/lib/components/DiscordProfilePicture.svelte +++ b/src/lib/components/DiscordProfilePicture.svelte @@ -147,7 +147,7 @@ } .quote { - @apply pointer-events-none absolute -top-6 left-1/2 -translate-x-1/2 select-none rounded bg-slate-800/50 px-2 py-1 text-sm font-medium tracking-wide opacity-0 duration-150 group-hover:opacity-100; + @apply pointer-events-none absolute -top-6 left-1/2 min-w-max -translate-x-1/2 select-none rounded bg-slate-800/50 px-2 py-1 text-sm font-medium tracking-wide opacity-0 duration-150 group-hover:opacity-100; } @keyframes reveal { diff --git a/src/routes/CommunitySlice.svelte b/src/routes/CommunitySlice.svelte index 691c7f0..8f99a07 100755 --- a/src/routes/CommunitySlice.svelte +++ b/src/routes/CommunitySlice.svelte @@ -175,7 +175,8 @@ image: '/imgs/profile_pictures/jacekpoz.svg', coordinates: [893, 622], size: 80, - class: 'outline-yellow-500 bg-black ' + class: 'outline-yellow-500 bg-black ', + quote: '"piss blob"' }, { image: '/imgs/profile_pictures/aylur.webp',