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

Remove direct css styling todo lists from MarkdownPreview component #1531

Merged
merged 2 commits into from
Feb 10, 2018

Conversation

nlopin
Copy link

@nlopin nlopin commented Feb 10, 2018

I've noticed that some styles applies directly to HTML in rewriteIframe method of MarkdownPreview component. It's not a good practice, so I removed that.

I add class to the li tag at transformation from markdown to html stage and then style it with css.

Nikolay Lopin added 2 commits February 10, 2018 14:03
The issue happened because styles connected with todo list were applied directly to HTML in Preview component. I added class to `li` tag of each todo item and style it from css.
@Rokt33r Rokt33r merged commit 809a0e8 into BoostIO:master Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants