mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
[PR #18594] [MERGED] fix: prevent icon layout shift near system instructions in Chat component #112157
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18594
Author: @iPagar
Created: 10/24/2025
Status: ✅ Merged
Merged: 10/25/2025
Merged by: @tjbck
Base:
dev← Head:chat-system-trim📝 Commits (1)
6471945fix: conditionally render system instructions in Chat component📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/lib/components/playground/Chat.svelte(+1 -1)📄 Description
Description
There is a layout shift when click on the pencil and then on a chevron icon even if the system prompt is empty
Fixed
Remove layout shift bug
Screenshots or Videos
https://github.com/user-attachments/assets/d45da204-d1f2-4f9e-955f-513d62b69061
https://github.com/user-attachments/assets/2dc5863a-e65d-42d5-b953-3daafd6b530d
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.