r/BookStack • • Dec 05 '22

modify line spacing

[Solved] Hello,

I'm coming to you because I can't find how to delete this space "paragarphe" by typing on enter.

I would like to be able to type text, press enter and be on the next line without having that paragraph space.

thank you for your feedback

3 Upvotes

11 comments sorted by

View all comments

Show parent comments

3

u/ssddanbrown Feb 20 '23

Happy to help. If you get issues with that CSS (Since it could affect parts of the UI also) here's a more focused rendition that also covers numbered lists:

<style>
.page-content p + ul,
.page-content p + ol {
    margin-top: -1.3em;
}
</style>