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

docs(api_split.pug): add "code" to sidebar entries #12153

Merged
merged 1 commit into from Aug 3, 2022

Conversation

hasezoey
Copy link
Collaborator

Summary

This PR adds "code" blocks to the API sidebar entries (and increases padding)

Screenshots

before:
before

without extra padding:
without padding

final with 2px extra padding (top-bottom):
with padding

PS: i am not sure on the spacing, please review if the spacing is OK or needs to be changed

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Collaborator

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@vkarpov15 vkarpov15 merged commit 18b6199 into Automattic:master Aug 3, 2022
@vkarpov15 vkarpov15 added this to the 6.5.1 milestone Aug 3, 2022
@hasezoey hasezoey deleted the addCodeToSidebar branch August 3, 2022 17:25
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.

None yet

3 participants