react_flow watermark icon displaying problem: transparency ? #14039

Closed
opened 2026-02-21 19:15:13 -05:00 by yindo · 4 comments
Owner

Originally created by @sheepwang91 on GitHub (May 20, 2025).

Originally assigned to: @crazywoola on GitHub.

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.4.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The icon is in the bottom right corner of chatflow or workflow section.

#1. The react-flow watermark in darkmode:

Image

#2. The react-flow watermark in lightmode:

Image

#3.After changing the font size, it can be seen more clearly. This issue can be resolved by switching the background fill or adjusting its transparency. The problem exists in both light and dark modes. :D

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @sheepwang91 on GitHub (May 20, 2025). Originally assigned to: @crazywoola on GitHub. ### 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.4.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The icon is in the bottom right corner of chatflow or workflow section. #1. The react-flow watermark in darkmode: <img width="212" alt="Image" src="https://github.com/user-attachments/assets/a64f618e-bf0f-49a5-a32e-2e882887640c" /> #2. The react-flow watermark in lightmode: ![Image](https://github.com/user-attachments/assets/d0d28ba1-4a1e-4623-b9b6-dd5fb27d5d5d) #3.After changing the font size, it can be seen more clearly. **This issue can be resolved by switching the background fill or adjusting its transparency.** The problem exists in both light and dark modes. :D ![Image](https://github.com/user-attachments/assets/0432a7ea-4a3f-4b9b-9872-1b7ce1f083d4) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 buggood first issue labels 2026-02-21 19:15:13 -05:00
yindo closed this issue 2026-02-21 19:15:13 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 20, 2025):

Hello @sheepwang91! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and guide you on your journey to becoming a contributor. I'm here while you wait for a human maintainer. Let's tackle your issue together!

The issue you're experiencing with the React Flow watermark's transparency in both light and dark modes might be related to the CSS settings applied to the component. Unfortunately, I couldn't find specific details about the CSS for the React Flow watermark in the Dify codebase. However, you can try inspecting the CSS styles applied to the React Flow component using browser developer tools to identify any transparency or background fill settings that might be causing the issue.

If adjusting the font size improves visibility, you might want to look into modifying the CSS directly to set a more appropriate font size or background fill for better contrast. You can also check if there are any configuration options available within the React Flow component setup in the web/app/components/workflow/index.tsx file, where the component is integrated and configured [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 (May 20, 2025): <!-- Greeting --> Hello @sheepwang91! I'm [Dosu](https://dosu.dev), your friendly bot here to help you solve bugs, answer questions, and guide you on your journey to becoming a contributor. I'm here while you wait for a human maintainer. Let's tackle your issue together! <!-- Answer --> The issue you're experiencing with the React Flow watermark's transparency in both light and dark modes might be related to the CSS settings applied to the component. Unfortunately, I couldn't find specific details about the CSS for the React Flow watermark in the Dify codebase. However, you can try inspecting the CSS styles applied to the React Flow component using browser developer tools to identify any transparency or background fill settings that might be causing the issue. If adjusting the font size improves visibility, you might want to look into modifying the CSS directly to set a more appropriate font size or background fill for better contrast. You can also check if there are any configuration options available within the React Flow component setup in the `web/app/components/workflow/index.tsx` file, where the component is integrated and configured <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/workflow/index.tsx)</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/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/50bba4bf-710b-4507-b74c-d7fce592f394?feedback_type=other)</sup>
Author
Owner

@HyaCiovo commented on GitHub (May 20, 2025):

How about using CSS variables to set the text's color

Image

light:

Image

dark:

Image

@HyaCiovo commented on GitHub (May 20, 2025): How about using CSS variables to set the text's color ![Image](https://github.com/user-attachments/assets/d8477311-d825-469c-af49-c3fdd4cb0bbe) light: ![Image](https://github.com/user-attachments/assets/d92f85b1-4a0c-4043-b0fa-fcd219684827) dark: ![Image](https://github.com/user-attachments/assets/9fb285f2-4ce3-46ba-a873-523b9999f91b)
Author
Owner

@HyaCiovo commented on GitHub (May 20, 2025):

How about using CSS variables to set the text's color

...

seems --color-text-secondary is more clear :P

Image

Image

@HyaCiovo commented on GitHub (May 20, 2025): > How about using CSS variables to set the text's color > > ... seems `--color-text-secondary` is more clear :P ![Image](https://github.com/user-attachments/assets/90db70ad-bde5-421d-a4c7-73740875359c) ![Image](https://github.com/user-attachments/assets/8669a710-65cf-4871-808a-24881ce9b48c)
Author
Owner

@crazywoola commented on GitHub (May 20, 2025):

How about using CSS variables to set the text's color
...

seems --color-text-secondary is more clear :P

Image

Image

I have removed the background, since the border is not rounded,I feel a little bit weird.

@crazywoola commented on GitHub (May 20, 2025): > > How about using CSS variables to set the text's color > > ... > > seems `--color-text-secondary` is more clear :P > > ![Image](https://github.com/user-attachments/assets/90db70ad-bde5-421d-a4c7-73740875359c) > > ![Image](https://github.com/user-attachments/assets/8669a710-65cf-4871-808a-24881ce9b48c) I have removed the background, since the border is not rounded,I feel a little bit weird.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#14039