[PR #24092] fix(ui): Optimize UI component styles and layouts (#24090) #30501

Closed
opened 2026-02-21 20:47:37 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/24092

State: closed
Merged: Yes


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

  • Modify tag component styles, use truncate to handle long text
  • Optimize Tooltip properties of document list operation buttons
  • Adjust category component styles, use gap instead of space-x
  • Fix scrollbar styles for support menu

Fixes #24090

Screenshots

Before After
99f37b573cd925c63a794a0a9763aec9 97f1b36f99f8cb73be6a86786de5c734
bfc5dd06be61eadada8d2586bdffcfe2 5867d2a308c7f1bf5e4aca040a847c16
190349c129dcdb8bb0ad2c16d2dc0f48 46c1d374e86e09b4d3a2b7fc2d4cef80

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/24092 **State:** closed **Merged:** Yes --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 2. Ensure there is an associated issue and you have been assigned to it > 3. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary - Modify tag component styles, use truncate to handle long text - Optimize Tooltip properties of document list operation buttons - Adjust category component styles, use gap instead of space-x - Fix scrollbar styles for support menu Fixes #24090 ## Screenshots | Before | After | |--------|-------| | <img width="900" height="406" alt="99f37b573cd925c63a794a0a9763aec9" src="https://github.com/user-attachments/assets/28f6dc34-9c67-4b62-a0a7-e7396b5ef159" /> | <img width="824" height="246" alt="97f1b36f99f8cb73be6a86786de5c734" src="https://github.com/user-attachments/assets/41541017-db11-46a1-9472-1f1a15a638ef" /> | | <img width="1646" height="214" alt="bfc5dd06be61eadada8d2586bdffcfe2" src="https://github.com/user-attachments/assets/2260d2fa-1c06-4c8c-8615-7e9f8dc5c046" /> | <img width="1642" height="324" alt="5867d2a308c7f1bf5e4aca040a847c16" src="https://github.com/user-attachments/assets/4d143e93-1be7-4db9-8a0c-546299ded67a" /> | | <img width="1944" height="1222" alt="190349c129dcdb8bb0ad2c16d2dc0f48" src="https://github.com/user-attachments/assets/639d4eac-8621-40f6-a8e7-3c31833ebcd4" /> | <img width="1514" height="594" alt="46c1d374e86e09b4d3a2b7fc2d4cef80" src="https://github.com/user-attachments/assets/a139acaa-95b3-45ed-b5c5-f54fd23bff94" /> | ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:47:37 -05:00
yindo closed this issue 2026-02-21 20:47:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30501