-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Request docs markdown: Bullet points missing when nesting in ordered list #5526
Comments
hey @leongzhiyong , I have the same version and windows operatig system . But apparently iam not facing this issue : |
Your unordered bullet points are not nested. Examples with nested bullet points (#1) vs unnested bullet points (#2) Edit: |
@ryuusama09 I've updated the code block so that copying from it will properly replicate the issue. Thanks. |
alright thanks , now got that issue 👍 |
The bug seems to be in the list's combinator inside .markdown-preview__content {
// ...
& > ul {
list-style: disc;
ul {
list-style: circle;
}
}
& > ol {
list-style: decimal;
ol {
list-style: lower-alpha;
}
}
// ...
} The Since in ol, ul {
list-style: none;
} all the 1. Lorem ipsum // <-- first descendant, so will have `list-style` set to `decimal`
- Dolor // <-- NOT first descendant, so the CSS rule will not apply and will have `list-style: none`
- Sit amet Another example: 1. Lorem ipsum // <-- first descendant, so will have `list-style` set to `decimal`
1. Dolor // <-- NOT first descendant, but it's a descendant of the first descendant, so will have `list-style: lower-alpha`
2. Sit amet Note in the CSS rules that the "descendants of a first descendant" need to be of the same type ( Removing these combinators will fix it. I will make a pull request. |
Expected Behavior
Actual Behavior
Dolor
Sit amet
Reproduction Steps
Create request
Edit request docs
Input following code
Is there an existing issue for this?
Additional Information
No response
Insomnia Version
2022.6.0
What operating system are you using?
Windows
Operating System Version
Windows 10 version 22H2
Installation method
Installer from imsomnia.rest
Last Known Working Insomnia version
No response
The text was updated successfully, but these errors were encountered: