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

Fixing spacing issue for `code` inside `pre` #2383

Merged
merged 1 commit into from May 10, 2014

Conversation

Projects
None yet
3 participants
@kleinfreund
Contributor

kleinfreund commented May 10, 2014

Regular (one-line) code inside a code tag has some padding around it. This leads to some weird spacing when dealing with code blocks (e.g. inside pre).

Removing the horizontal paddings for these. (Also replacing border: none; with border: 0; because it's shorter)

(Alternate solution for #2380)

Fixing spacing issue for `code` inside `pre`
Regular (one-line) code inside a `code` tag has some padding around it. This leads to some weird spacing when dealing with code blocks (e.g. inside `pre`).

Removing the horizontal paddings for these. (Also replacing `border: none;` with `border: 0;` because it's shorter)
@parkr

This comment has been minimized.

Member

parkr commented May 10, 2014

Boom. Thanks! Closes #2380.

parkr added a commit that referenced this pull request May 10, 2014

@parkr parkr merged commit 9a635f0 into jekyll:master May 10, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

parkr added a commit that referenced this pull request May 10, 2014

@kleinfreund kleinfreund deleted the kleinfreund:patch-1 branch May 10, 2014

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.