mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
Merge pull request #18594 from iPagar/chat-system-trim
fix: prevent icon layout shift near system instructions in Chat component
This commit is contained in:
@@ -224,7 +224,7 @@
|
|||||||
{$i18n.t('System Instructions')}
|
{$i18n.t('System Instructions')}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if !showSystem}
|
{#if !showSystem && system.trim()}
|
||||||
<div class=" flex-1 text-gray-500 line-clamp-1">
|
<div class=" flex-1 text-gray-500 line-clamp-1">
|
||||||
{system}
|
{system}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user