[PR #25124] fix: TypeSelector component style #30945

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

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

State: closed
Merged: Yes


Fixes #25123

Summary

This pull request makes a minor UI update to the TypeSelector component in the type-select.tsx file. The change improves the visual styling of the selected item's text by ensuring it uses the correct filled text color class.

  • Updated the span element in TypeSelector to always include the text-components-input-text-filled class, ensuring consistent styling for filled input text.

Screenshots

Before After
image image

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/25124 **State:** closed **Merged:** Yes --- Fixes #25123 ## Summary This pull request makes a minor UI update to the `TypeSelector` component in the `type-select.tsx` file. The change improves the visual styling of the selected item's text by ensuring it uses the correct filled text color class. * Updated the `span` element in `TypeSelector` to always include the `text-components-input-text-filled` class, ensuring consistent styling for filled input text. ## Screenshots | Before | After | |--------|-------| | <img width="482" height="584" alt="image" src="https://github.com/user-attachments/assets/1b8174e5-8375-415e-a27e-79d484b4bb6f" />| <img width="499" height="594" alt="image" src="https://github.com/user-attachments/assets/b06ad8e9-631c-4cce-bb38-d6c90c6c7bd3" />| ## 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:48:31 -05:00
yindo closed this issue 2026-02-21 20:48:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30945