mirror of
https://github.com/open-webui/open-webui
synced 2025-02-21 12:29:29 +00:00
refac: styling
This commit is contained in:
parent
a40eb87c31
commit
7b6723a955
@ -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 = [];
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user