[PR #18594] [MERGED] fix: prevent icon layout shift near system instructions in Chat component #79719

Closed
opened 2026-05-13 13:43:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 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)

  • 6471945 fix: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/18594 **Author:** [@iPagar](https://github.com/iPagar) **Created:** 10/24/2025 **Status:** ✅ Merged **Merged:** 10/25/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `chat-system-trim` --- ### 📝 Commits (1) - [`6471945`](https://github.com/open-webui/open-webui/commit/6471945076fafbe96389732f7151b187268ba776) fix: conditionally render system instructions in Chat component ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/playground/Chat.svelte` (+1 -1) </details> ### 📄 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)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-13 13:43:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#79719