Skip to content

chore(docs): Adjust spacing - #5103

Open
rebeccaalpert wants to merge 3 commits into
patternfly:mainfrom
rebeccaalpert:spacing
Open

chore(docs): Adjust spacing#5103
rebeccaalpert wants to merge 3 commits into
patternfly:mainfrom
rebeccaalpert:spacing

Conversation

@rebeccaalpert

@rebeccaalpert rebeccaalpert commented Aug 25, 2026

Copy link
Copy Markdown
Member

We used to determine the gutter based on whether items were component docs - this brings that back so we can adjust where margins are used.

I don't know the full history, but it was removed here: https://github.com/patternfly/patternfly-org/pull/4127/changes#diff-da135efaa2b01f501f1ac196874e6c6ae745345196f59a4581445639bf5384c4R94

I don't know if there's a reason why I shouldn't bring it back - please tell me!

Fixes #4257

Assisted-by: Cursor

@patternfly-build

patternfly-build commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Preview: https://pf-org--pr-5103-site.surge.sh

@rebeccaalpert
rebeccaalpert marked this pull request as ready for review August 25, 2026 20:27

@kmcfaul kmcfaul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me overall, only saw two spacing issues:

  • Tables that precede other content don't have gap.
  • Props table section doesn't have a gap if its preceded by something other than a code editor example. Maybe worth putting a one-off class on the Props table h2, or targeting the last h2 on the page for additional padding.

@rebeccaalpert
rebeccaalpert force-pushed the spacing branch 4 times, most recently from 30399be to 8910c98 Compare August 27, 2026 20:32
We used to determine the gutter based on whether items were component docs - this brings that back so we can adjust where margins are used.

Fixes patternfly#4257

Assisted-by: Cursor
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.

Bug - Fix spacing issue that appears in React and HTML docs

3 participants