Template ul ol margin must be for the firts list level only
See original GitHub issueSteps to reproduce
Create nested lists, e.g.
* First level list
* Second level list
And use template buble or dark.
What is current behaviour
buble and dark templates define ul, ol
margin as margin 1.2em 0
and it’s applied for the nested ul, ol
too, which is not right.
What is the expected behaviour
Apply the margin (top and bottom only) to the first level of the lists only.
I am not the CSS expert, but I think it could be fixed by CSS selector:
.markdown-section > ul, .markdown-section > ol
Other relevant information
- Docsify version: 4.9.4
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
<ol>: The Ordered List element - HTML - MDN Web Docs
The <ol> and <ul> elements both represent a list of items. The difference is with the <ol> element, the order is meaningful. For...
Read more >ul no margin on first level of nested list? - css - Stack Overflow
I want a styled list that doesn't ...
Read more >How to create a multilevel list in HTML - Computer Hope
Steps on how to create a multilevel list in HTML and for your web page.
Read more >HTML Bullet Points – How to Create an Unordered List with ...
The first step is to add the list-style-type:none; rule to the parent ul tag and remove the default padding and margin from the...
Read more >The Ultimate Guide to Bullet Points in HTML Email - Litmus
To get started with bulleted lists in your emails, here's the minimum code you need to make them work. < ul style =...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.