Skip to content

Conversation

@rodgtr1
Copy link
Contributor

@rodgtr1 rodgtr1 commented Jan 14, 2026

In this commit, we are adding the default margin back to the items in the Checkpoint components.

Currently, margin is removed for paragraphs in the Checkpoint components. But if a Troubleshooting item in the checkpoint has a code snippet (or any text nested in a list item), our default margin needs to be applied so as to be consistent with how it is used/looks regularly in our docs. This PR removes the 0 p margin as it's not needed.

Also when we remove this margin, the Heading gets the margin back which causes the center Flex to be off, so have to set that to 0 so as to center with the Flag svg Flex.

Can also see from the active checkpoints that the styling is not affected in any other way with this change.

See before (left) and after (right)

Screenshot 2026-01-14 at 10 46 44 AM

In this commit, we are adding the default margin back to the items in the Checkpoint components.

If a troubleshooting tip should require a code block, then there should be regular margin between the `li` and the paragraph within it so that it is consistent with the rest of the markdown structure/style.
@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
travis.rodgers/adding-paragraph-spacing-to-checkpoints 92e264b 1 ✅SUCCEED travis-rodgers-adding-paragraph-spacing-to-checkpoints 2026-01-14 15:49:30

@rodgtr1 rodgtr1 added this pull request to the merge queue Jan 15, 2026
Merged via the queue into main with commit 3a1ca75 Jan 15, 2026
7 checks passed
@rodgtr1 rodgtr1 deleted the travis.rodgers/adding-paragraph-spacing-to-checkpoints branch January 15, 2026 16:19
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.

4 participants