In the PDF export from Confluence, line spacing is inserted between list items, but in the Wiki view, there is no line spacing. I would like to have a consistent reading experience, what is the CSS class/selector I need to modify to get the same line spacing in the Wiki view as the PDF export?
Actually, it turned out to be padding that I was after. I wanted to place padding after ordered list items, but keep the padding at 0 for unordered lists, so this is what I came up with:
.wiki-content ol li { padding-bottom: 15px; }
If you only want to change the space after the last line, and before the next bullet, you can use:
.wiki-content li {
margin-bottom: 10px;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is what you're asking for:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.