greenelab/lab-website-template

How to adjust the after-paragraph space?

sterding opened this issue · 5 comments

Checks

Link to your website repo

No response

Version of Lab Website Template you are using

No response

Description

I am wondering if you have a way to decrease the after-paragraph space in the citation? Below are two examples, one from my site and one from the greenelab.com. It's obvious that greenelab one has smaller after-paragraph space and looks nicer! I tried to change the --spacing: 2; in _styles/-theme.scss, but that's for within-paragraph line space, not for after-paragraph space.

image

image

In the future, for questions like this that are not bugs, please use a discussion.

To adjust this spacing, you can adjust the value of gap: 15px; in the .citation-text class in _styles/citation.scss.

It's also pretty clear that something odd is going on in your (first) screenshot. The gap should not be that wide. What browser are you using? What other CSS (.scss) modifications have you made? This is why I really need to see the repo and source code to help you. There are many parts to the template and things can affect each other.

It's also pretty clear that something odd is going on in your (first) screenshot. The gap should not be that wide.

See this comment for the cause: #217 (comment)