Skip to content

Modified markdown preview nested list styling #124445

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

Merged
merged 5 commits into from
May 26, 2021
Merged

Conversation

Ashray123
Copy link
Contributor

This PR fixes #124419

@@ -132,6 +132,9 @@ p {
}

ul,
ul{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should all unordered list have no bottom margin, or only lists inside of other lists?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hii@mjbvz what do you suggest should be appropriate?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd keep the existing rule and add new rules the zero the bottom margin for ul ul { (and probably ul ol, ol ul, ol, ol too, although please test those out to see what they look like first)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mjbvz Ok, I will do the same, thanks!

@Ashray123 Ashray123 requested a review from mjbvz May 25, 2021 10:23
@@ -105,6 +105,18 @@ body.showEditorSelection li.code-line:hover:before {
.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
ul ul{
Copy link
Collaborator

Choose a reason for hiding this comment

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

[nit] Can you please merge these into a single rule separated by commas instead. It makes the intent of this rule more clear

ul ul{
margin-bottom: 0%;
}
ul ol{
Copy link
Collaborator

Choose a reason for hiding this comment

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

[nit] Just use 0 instead of 0%. They mean the same thing but zero without units is much more common

@Ashray123 Ashray123 requested a review from mjbvz May 26, 2021 10:00
@Ashray123
Copy link
Contributor Author

@mjbvz Would you please review and let me know if further changes are to be made :)

@mjbvz mjbvz added this to the May 2021 milestone May 26, 2021
@mjbvz mjbvz merged commit 5eb64c5 into microsoft:main May 26, 2021
@mjbvz
Copy link
Collaborator

mjbvz commented May 26, 2021

Thanks! Will be in the next insiders build and is scheduled to be part of VS Code 1.57

@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown preview nested lists shouldn't have bottom margin
2 participants