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 default table header padding #823

Closed
sdruskat opened this issue Nov 15, 2018 · 0 comments · Fixed by #824
Closed

Fix default table header padding #823

sdruskat opened this issue Nov 15, 2018 · 0 comments · Fixed by #824
Labels
A-Style Area: Style (CSS, etc.)

Comments

@sdruskat
Copy link
Contributor

When rendering the following table without any modifications to theme, the header contents aren't padded.

| Right | Left |
|------:|:-----|
| Value | One  |
| Value | Two  |

grafik

I guess Markdown parsing has changed at some point, or this corner case wasn't tested?

@ehuss ehuss added the A-Style Area: Style (CSS, etc.) label May 17, 2019
@ehuss ehuss closed this as completed in #824 Aug 9, 2019
ehuss added a commit that referenced this issue Aug 9, 2019
Fix #823: Apply default padding to table headers
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this issue Aug 30, 2020
This PR fixes rust-lang#823 by applying the default padding for table cells (`padding: 3px 20px;`) to header cells.
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this issue Aug 30, 2020
Fix rust-lang#823: Apply default padding to table headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Style Area: Style (CSS, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants