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

Tweak spacing within code blocks #2575

Merged
merged 2 commits into from
May 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Tweak spacing within code blocks
This provides enough space (look at the `pkgdown::build_site()` on the homepage), but I think it looks better because it's symmetrical.
hadley committed May 22, 2024
commit 5b3585dc2f4b25acf5d7a78e9e27de925041c408
2 changes: 1 addition & 1 deletion inst/BS5/assets/pkgdown.scss
Original file line number Diff line number Diff line change
@@ -431,7 +431,7 @@ code {
}
// Ensure there's enough space for the copy button
pre {
padding: 1rem 0.5rem;
padding: 0.75rem;
}

// Spacing tweaks for gt table