scrumlr.io
scrumlr.io copied to clipboard
Toast message is not visible in dark mode.
Problem description
Text in toast messages those pop-up when notes on a board are deleted aren't visible in dark mode.
This is an issue with the contrast ratio of toast message text and its background. Although aforementioned behavior isn't seen in light mode.
Browser
Chrome
Steps to reproduce the behavior
- Create a new board.
- Create a note.
- Delete the note and notice the toast message that appear in lower right part of your screen doesn't have any readable text.
Screenshots
Additional context
No response
I've noticed this in firefox as well, the border radius is also wrong
this is caused by the lack of support for the css :has()
selector.
similar to #3048 we need to see how much of a workaround would be needed
looking at https://caniuse.com/css-has, the feature is suported in 87% of browsers with firefox being the only browser that doesen't support it in their latest version
found it:
https://github.com/inovex/scrumlr.io/blob/7dc3b5f7a76cb773d89dceaf53a9ceb53f2c81e2/src/components/CustomToast/CustomToast.scss#L307-L310
but I think the :has
maybe isn't even necessary here
Thank you for your bug report @Quasilius-Starlord. Currently I cannot reproduce the bug. It may have already been fixed by one of our changes. The toast that is displayed for me in the Chrome browser when I delete a note is as follows:
Can you check if you are still experiencing the bug?