Skip to content

Conversation

@hussam-i-am
Copy link
Contributor

Changelog

New

Changed

  • The media query styling was overriding the small variants, so updated the fontSize to be a responsive array to ensure it is correctly set

Removed

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

@hussam-i-am hussam-i-am self-assigned this Nov 6, 2024
@changeset-bot
Copy link

changeset-bot bot commented Nov 6, 2024

🦋 Changeset detected

Latest commit: f43c477

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 Minor

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
Copy link
Contributor

github-actions bot commented Nov 6, 2024

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@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 6, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-5243 November 6, 2024 18:43 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 98.68 KB (+0.1% 🔺)
packages/react/dist/browser.umd.js 98.96 KB (+0.03% 🔺)

@hussam-i-am hussam-i-am added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Nov 6, 2024
@github-actions github-actions bot removed the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Nov 6, 2024
@hussam-i-am hussam-i-am marked this pull request as ready for review November 6, 2024 19:28
@hussam-i-am hussam-i-am requested review from a team as code owners November 6, 2024 19:28
Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

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

Visual change looks good, curious about the empty media queries but maybe it doesn't matter for now?

}
@media screen and (min-width:544px) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why these were added? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, seemed strange but noticed they already existed and so I figured it was some artifact of using styled components.

@hussam-i-am hussam-i-am added this pull request to the merge queue Nov 6, 2024
Merged via the queue into main with commit bc9c696 Nov 6, 2024
43 checks passed
@hussam-i-am hussam-i-am deleted the hussam-i-am/fix-text-input-font-size branch November 6, 2024 20:08
@primer primer bot mentioned this pull request Nov 6, 2024
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.

TextInput: Value/Placeholder font size doesn't respect it's size variant

3 participants