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 bad CSS child combinator in markdown lists preview (#5526) #5630

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

paoloose
Copy link
Contributor

@paoloose paoloose commented Jan 7, 2023

changelog(Fixes): Fixed an issue with how lists are displayed in markdown previews

Closes #5526

As described in my comment, the child combinator > only match the direct descendants, so in nested lists the rule will not apply.

The solution was to remove these child combinators, as there is no point in styling only the direct descendants of the markdown preview container. That's why this bug also appear in these situations:

image

Also fixed.

image|w

Copy link
Contributor

@jackkav jackkav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jackkav jackkav requested a review from pavkout January 10, 2023 15:37
@filfreire filfreire enabled auto-merge (squash) January 16, 2023 11:15
@filfreire
Copy link
Member

Thanks @leflores-fisi, this will go out in our next release 👍

@filfreire filfreire merged commit a315cb6 into Kong:develop Jan 16, 2023
@filfreire
Copy link
Member

@leflores-fisi you can claim a free tshirt for this PR contribution - find more at https://konghq.com/community/open-source-contribution

@paoloose
Copy link
Contributor Author

@leflores-fisi you can claim a free tshirt for this PR contribution - find more at https://konghq.com/community/open-source-contribution

Wow I definitely will, looks amazing!, thank you @filfreire!, also to the Insomnia team for such an amazing tool

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.

Request docs markdown: Bullet points missing when nesting in ordered list
3 participants