react_flow watermark icon displaying problem: transparency ?
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [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:
#2. The react-flow watermark in lightmode:
#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
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
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
How about using CSS variables to set the text's color
light:
dark:
How about using CSS variables to set the text's color
...
seems --color-text-secondary is more clear :P
How about using CSS variables to set the text's color ...
seems
--color-text-secondaryis more clear :P
I have removed the background, since the border is not rounded,I feel a little bit weird.