refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-06 16:22:19 -07:00
parent a40eb87c31
commit 7b6723a955
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
const getContents = () => { const getContents = () => {
contents = []; contents = [];
messages.forEach((message) => { messages.forEach((message) => {
if (message?.content) { if (message?.role !== 'user' && message?.content) {
const codeBlockContents = message.content.match(/```[\s\S]*?```/g); const codeBlockContents = message.content.match(/```[\s\S]*?```/g);
let codeBlocks = []; let codeBlocks = [];

View File

@ -94,7 +94,7 @@
: (user?.profile_image_url ?? '/user.png')} : (user?.profile_image_url ?? '/user.png')}
/> />
{/if} {/if}
<div class="w-full overflow-hidden pl-1"> <div class="w-full w-0 pl-1">
{#if !($settings?.chatBubble ?? true)} {#if !($settings?.chatBubble ?? true)}
<div> <div>
<Name> <Name>