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:
Tim Baek 2025-10-24 17:50:29 -07:00 committed by GitHub
commit 46a8e4acad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,7 +224,7 @@
{$i18n.t('System Instructions')}
</div>
{#if !showSystem}
{#if !showSystem && system.trim()}
<div class=" flex-1 text-gray-500 line-clamp-1">
{system}
</div>