Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code in Gitalk comment doesn't show properly #87

Closed
3 tasks done
upupming opened this issue May 19, 2018 · 3 comments
Closed
3 tasks done

code in Gitalk comment doesn't show properly #87

upupming opened this issue May 19, 2018 · 3 comments

Comments

@upupming
Copy link
Contributor

upupming commented May 19, 2018

I want to create a new issue

Melody Information

Melody Version: 1.5.2

Platform: Ubuntu 18.04

Browser: Chrome

Expected behavior

The gitlk demo site display code pretty well.
screenshot from 2018-05-19 21-40-59

Actual behavior

When I added a new comment with some code blocks, some words cannot be displayed properly. I had to select them before I could see them.
screenshot from 2018-05-19 21-38-48

I also tested on your blog(a fork from your repo), but the result is the same.

I think this is caused by the Material Theme code highlight.

@Molunerfinn
Copy link
Owner

They use the same CSS, so some of the color may not be right for the comment.
I will find a way to fix it.

@upupming
Copy link
Contributor Author

upupming commented May 19, 2018

I think gitment will also be affected, so the best solution may be ignoring melody's CSS in the comment container. What do you think, is it possible?

@Molunerfinn
Copy link
Owner

@upupming Yes, I have done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants