UI Sliders are not visually correct #12297

Closed
opened 2026-02-21 19:06:47 -05:00 by yindo · 2 comments
Owner

Originally created by @DavideDelbianco on GitHub (Mar 28, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker), Cloud

Steps to reproduce

Open any part o the application that uses a slider

✔️ Expected Behavior

Sliders should have the rail portion use a different color from the active portion

Image

Actual Behavior

The whole slider bar is blue

Image

Originally created by @DavideDelbianco on GitHub (Mar 28, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker), Cloud ### Steps to reproduce Open any part o the application that uses a slider ### ✔️ Expected Behavior Sliders should have the rail portion use a different color from the active portion ![Image](https://github.com/user-attachments/assets/1c9653c2-0880-403d-b0bc-0b63b4a9b3a6) ### ❌ Actual Behavior The whole slider bar is blue ![Image](https://github.com/user-attachments/assets/8f1f5328-6e63-4122-a207-1c3388ebfa77)
yindo added the 🐞 bug label 2026-02-21 19:06:47 -05:00
yindo closed this issue 2026-02-21 19:06:47 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 28, 2025):

The issue with the UI sliders appearing entirely blue in Dify version 1.1.3 when self-hosted is likely due to the CSS variables defined for the slider components. In the web/themes/light.css file, the CSS variables for the slider are:

--color-components-slider-range: #296dff; /* Active portion */
--color-components-slider-track: #e9ebf0; /* Inactive portion */

If the entire slider appears blue, it might be due to incorrect application of these variables in the HTML or a CSS override. Ensure that the CSS is correctly applied and that no other styles are overriding these variables. Also, verify that the theme is correctly set to "light" to ensure these variables are being used [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 28, 2025): <!-- Answer --> The issue with the UI sliders appearing entirely blue in Dify version 1.1.3 when self-hosted is likely due to the CSS variables defined for the slider components. In the `web/themes/light.css` file, the CSS variables for the slider are: ```css --color-components-slider-range: #296dff; /* Active portion */ --color-components-slider-track: #e9ebf0; /* Inactive portion */ ``` If the entire slider appears blue, it might be due to incorrect application of these variables in the HTML or a CSS override. Ensure that the CSS is correctly applied and that no other styles are overriding these variables. Also, verify that the theme is correctly set to "light" to ensure these variables are being used <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/themes/light.css)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/edcaa089-fb70-420e-8910-4889490fbe3f?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Mar 31, 2025):

fix(slider): the slider's style is not as expected (#16711)

@crazywoola commented on GitHub (Mar 31, 2025): fix(slider): the slider's style is not as expected (#16711)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12297