refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-09-15 15:12:01 -05:00
parent c0f3352b71
commit e5bb366719
3 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@
</script> </script>
<button <button
class="flex gap-2.5 text-left min-w-[var(--width)] w-full dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-100 dark:border-gray-850 rounded-xl px-3.5 py-3.5" class="flex gap-2.5 text-left min-w-[var(--width)] w-full dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-100 dark:border-gray-850 rounded-3xl px-3.5 py-3"
on:click={() => { on:click={() => {
onClick(); onClick();
dispatch('closeToast'); dispatch('closeToast');
@ -44,7 +44,7 @@
<div> <div>
{#if title} {#if title}
<div class=" text-[13px] font-medium mb-0.5 line-clamp-1 capitalize">{title}</div> <div class=" text-[13px] font-medium mb-0.5 line-clamp-1">{title}</div>
{/if} {/if}
<div class=" line-clamp-2 text-xs self-center dark:text-gray-300 font-normal"> <div class=" line-clamp-2 text-xs self-center dark:text-gray-300 font-normal">

View file

@ -454,7 +454,7 @@
{/each} {/each}
</ul> </ul>
</section> </section>
<div class="pb-12" /> <div class="pb-18" />
{#if bottomPadding} {#if bottomPadding}
<div class=" pb-6" /> <div class=" pb-6" />
{/if} {/if}

View file

@ -454,7 +454,7 @@
goto(`/channels/${event.channel_id}`); goto(`/channels/${event.channel_id}`);
}, },
content: data?.content, content: data?.content,
title: event?.channel?.name title: `#${event?.channel?.name}`
}, },
duration: 15000, duration: 15000,
unstyled: true unstyled: true