Fix overflow in notes/messages

This commit is contained in:
Jon Staab
2024-10-31 10:21:05 -07:00
parent 2800b15319
commit 7988935537
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
</div>
{:else}
<div
class="overflow-hidden text-ellipsis"
class="overflow-hidden text-ellipsis break-words"
style={expandBlock ? "mask-image: linear-gradient(0deg, transparent 0px, black 100px)" : ""}>
{#each shortContent as parsed, i}
{#if isNewline(parsed)}
+2 -2
View File
@@ -14,12 +14,12 @@
</script>
{#if url.match(/\.(jpe?g|png|gif|webp)$/)}
<Button class="link-content" on:click={expand}>
<Button class="link-content whitespace-nowrap" on:click={expand}>
<Icon icon="link-round" size={3} class="inline-block" />
{displayUrl(url)}
</Button>
{:else}
<Link external href={url} class="link-content">
<Link external href={url} class="link-content whitespace-nowrap">
<Icon icon="link-round" size={3} class="inline-block" />
{displayUrl(url)}
</Link>