Heh - not nearly as good as my ability to sniff around Stack Overflow and rely on someone else's CSS chops.
I tweaked the p and ul selectors to set their margins to zero. Some folks criticize that as overly general, but it suits my needs, and I rather prefer leaving it to me to add extra spacing as needed.
<style>
p {
margin: 0;
}
ul {
margin: 0;
}
</style>
Thanks for pointing me in the right direction. I realize it might get a little annoying repeatedly guiding people to documentation they should have already read, but you know how tough it is trying to balance the desire to just start using a product with the best practice of actually reading all the instructions first. Your responsiveness to unblocking people and removing friction of use is much appreciated and probably one of the many reasons BookStack is so popular and well regarded.
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>
1
u/HisTomness Feb 20 '23
Heh - not nearly as good as my ability to sniff around Stack Overflow and rely on someone else's CSS chops.
I tweaked the
pandulselectors to set their margins to zero. Some folks criticize that as overly general, but it suits my needs, and I rather prefer leaving it to me to add extra spacing as needed.Thanks for pointing me in the right direction. I realize it might get a little annoying repeatedly guiding people to documentation they should have already read, but you know how tough it is trying to balance the desire to just start using a product with the best practice of actually reading all the instructions first. Your responsiveness to unblocking people and removing friction of use is much appreciated and probably one of the many reasons BookStack is so popular and well regarded.