Skip to content

Conversation

@lukasoppermann
Copy link
Contributor

@lukasoppermann lukasoppermann commented Nov 24, 2025

Closes https://github.com/github/primer/issues/6066

Changelog

Header and description of BlankSlate are now centered

Before After
CleanShot 2025-11-24 at 09 53 57@2x CleanShot 2025-11-24 at 09 54 38@2x

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@lukasoppermann lukasoppermann requested a review from a team as a code owner November 24, 2025 08:53
@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: 6105520

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Nov 24, 2025
@github-actions
Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions
Copy link
Contributor

Uh oh! @lukasoppermann, at least one image you shared is missing helpful alt text. Check your pull request body to fix the following violations:

  • Images should have meaningful alternative text (alt text) at line 14
  • Images should have meaningful alternative text (alt text) at line 14
  • Images should have meaningful alternative text (alt text) at line 14
  • Images should have meaningful alternative text (alt text) at line 14

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

🤖 Beep boop! This comment was added automatically by github/accessibility-alt-text-bot.

Copilot finished reviewing on behalf of lukasoppermann November 24, 2025 08:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR centers the text alignment for the header and description elements in the BlankSlate component by adding text-align: center; to the CSS module. This complements the existing grid-based centering of the container and ensures that text content within these elements is also centered.

  • Adds text-align: center; CSS property to .Heading and .Description classes in the BlankSlate component
  • Properly documented as a patch release in the changeset file

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/react/src/Blankslate/Blankslate.module.css Adds text-align: center; to the shared .Heading, .Description CSS rule to center the text content within these elements
.changeset/great-paws-swim.md Documents this change as a patch release for @primer/react

@github-actions github-actions bot temporarily deployed to storybook-preview-7239 November 24, 2025 09:03 Inactive
@lukasoppermann lukasoppermann added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Nov 24, 2025
@lukasoppermann lukasoppermann requested review from siddharthkp and removed request for francinelucca November 24, 2025 09:46
@primer primer bot requested a review from a team as a code owner November 24, 2025 09:57
@primer primer bot requested a review from langermank November 24, 2025 09:57
@github-actions github-actions bot removed the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Nov 24, 2025
@lukasoppermann lukasoppermann requested review from adierkens and removed request for langermank and siddharthkp November 24, 2025 10:20
@lukasoppermann lukasoppermann added this pull request to the merge queue Nov 24, 2025
Merged via the queue into main with commit 2735220 Nov 24, 2025
49 checks passed
@lukasoppermann lukasoppermann deleted the lukasoppermann/blankSlate branch November 24, 2025 15:43
@primer primer bot mentioned this pull request Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants