404 페이지에서 버튼에 마우스를 올리면 텍스트 색상이 잘못 표시됩니다

Moving the mouse over buttons on the 404 page makes the text the same color as their background:

The image shows a screen from a Discourse forum with error message "Oops! That page doesn't exist or is private" and a "Log In" button. (Captioned by AI)

The buttons’ focus state is ok and doesn’t display the issue.

The issue doesn’t occur with the search button at the very bottom of the page.

3개의 좋아요

It seems those pages are missing the top-level classes of discourse-no-touch and the likes.

I could add extra CSS to make sure the buttons are properly styled, but it’s a better bet (and more encompassing) to make sure those classes are added, if possible.

2개의 좋아요

I don’t think we can do this @chapoi these pages don’t use ember and are rendered on the server side so we don’t know the capabilities of the client.

I think you need to style this using the no-ember class on the body to target these buttons efficiently.

3개의 좋아요

Should be fixed by UX: fix hover effect for anon login btns on non-ember page by chapoi · Pull Request #33787 · discourse/discourse · GitHub

1개의 좋아요