question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Template ul ol margin must be for the firts list level only

See original GitHub issue

Steps 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:open
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stale[bot]commented, Mar 15, 2020

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.

0reactions
stale[bot]commented, May 21, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found