mirror of https://github.com/langgenius/dify.git
style: enhance loading indicator and adjust Markdown component styling for consistency
This commit is contained in:
parent
ed9b6f7bce
commit
092e249bfb
|
|
@ -29,7 +29,7 @@ const ResultPreview = ({
|
|||
<>
|
||||
{isRunning && !outputs && (
|
||||
<div className='flex grow flex-col items-center justify-center gap-y-2 pb-20'>
|
||||
<RiLoader2Line className='size-4 animate-spin' />
|
||||
<RiLoader2Line className='size-4 animate-spin text-text-tertiary' />
|
||||
<div className='system-sm-regular text-text-tertiary'>{t('pipeline.result.resultPreview.loading')}</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ const DisplayContent = (props: DisplayContentProps) => {
|
|||
)}
|
||||
{viewMode === ViewMode.Preview && (
|
||||
previewType === PreviewType.Markdown
|
||||
? <Markdown className='grow overflow-auto rounded-lg !bg-white px-4 py-3' content={(mdString ?? '') as string} />
|
||||
? <Markdown className='grow overflow-auto rounded-lg px-4 py-3' content={(mdString ?? '') as string} />
|
||||
: <ChunkCardList
|
||||
chunkType={chunkType!}
|
||||
parentMode={parentMode}
|
||||
|
|
|
|||
Loading…
Reference in New Issue