Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in paragraph spacing for reST files #3704

Closed
friedelwolff opened this issue Jul 26, 2023 · 1 comment
Closed

Change in paragraph spacing for reST files #3704

friedelwolff opened this issue Jul 26, 2023 · 1 comment
Labels

Comments

@friedelwolff
Copy link

Environment

Python Version:
3.8

Nikola Version:
Nikola==8.2.4

Operating System:
Linux

Description:

A recent update causes undesirable layout for simple .rst files. In something like this:

Heading 1
---------
Paragraph 1

Paragraph 2

Heading 2
---------
Paragraph 3

There is no bottom margin on the p tag of Paragraph 2, due to this line:
c02d0fc#diff-1db3a04ef500101f2ec02cdcac07f73dfc53f67f98ff8be77d2570bb530d67f6R77
Consequently there is a bigger margin below the h2 than above it.

That CSS file seems to be externally maintained, so I'm not sure what is the best to do here.

@Kwpolska
Copy link
Member

Kwpolska commented Aug 5, 2023

Thanks for reporting, fixed in master. This CSS file comes from docutils, but we don’t mind modifying it if it does dumb stuff (and in recent versions, they started doing a lot of dumb stuff).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants