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

Fix #273 line-block: set the left margin to 0px #380

Merged
merged 4 commits into from Jan 21, 2018
Merged

Conversation

Blendify
Copy link
Member

@Blendify Blendify commented Mar 8, 2017

this fixes #273

@Blendify Blendify added the PR: work in progress Pull request is not ready for full review label Mar 8, 2017
@Blendify
Copy link
Member Author

Blendify commented Mar 8, 2017

This is actually removing intended indent and needs a different solution

@Blendify Blendify changed the title line-block: set the left margin to 0px Fix #273 line-block: set the left margin to 0px Mar 15, 2017
- top level have no left margin and a bottom margin
- nested have a left margin and no bottom margin
@davidfischer
Copy link
Contributor

I co-opted this PR with some additional fixes. I hope that's ok. Essentially my changes treat top level and nested line blocks slightly differently. Top level line blocks have a bottom margin and no left margin while nested line blocks have a left margin but no bottom margin.

This also backports a workaround from RTD.org into the RTD theme.

screen shot 2018-01-15 at 11 31 00 am
(Before and after of this PR: specifically notice left and bottom margins on the line-blocks)

@Blendify
Copy link
Member Author

Changes look good to me. Needs aproval from someone else first.

Blendify added a commit to readthedocs/readthedocs.org that referenced this pull request Jan 15, 2018
This should be merged after readthedocs/sphinx_rtd_theme#380 and we use a new release of the theme.
@Blendify
Copy link
Member Author

I submitted a patch: readthedocs/readthedocs.org#3519 to remove this from the main RTD repo

Copy link
Contributor

@jessetan jessetan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidfischer davidfischer merged commit 25fb424 into master Jan 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line breaks causing indented text when using the theme
4 participants