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

fix: modified _number-input.scss:91 #15421

Merged
merged 4 commits into from
Dec 27, 2023

Conversation

dev-ghostly
Copy link
Contributor

@dev-ghostly dev-ghostly commented Dec 18, 2023

Closes #15414

Fixes an issue with padding when hideSteppers is set to true

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}

Removed

  • {{removed thing}}

Testing / Reviewing

{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}

Full report :

The input was like this before
image_2023-12-18_183825308

Right now it will be like this :
image_2023-12-18_183903376

Changes did on styles/scss/components/number-input/_number-input.scss:91

Please note that it seems that the bug appeared only with invalid property and container under 150px and that the natural min-width of the NumberInput is 150px, which mean that you will have bug under that container size.

Edit : Problem, I actually modified no JS code, but 2 failed tests are blocking me

@dev-ghostly dev-ghostly requested a review from a team as a code owner December 18, 2023 18:11
Copy link
Contributor

github-actions bot commented Dec 18, 2023

DCO Assistant Lite bot All contributors have signed the DCO.

@dev-ghostly
Copy link
Contributor Author

I have read the DCO document and I hereby sign the DCO.

Copy link

netlify bot commented Dec 18, 2023

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6e4e3c0
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6581c23edfaf3f000866c20e
😎 Deploy Preview https://deploy-preview-15421--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for contributing! 👍 ✅

@guidari guidari added this pull request to the merge queue Dec 27, 2023
Merged via the queue into carbon-design-system:main with commit 0382e35 Dec 27, 2023
22 checks passed
danoro96 pushed a commit to danoro96/carbon that referenced this pull request Jan 18, 2024
* fix: modified _number-input.scss:91

* fix: put back to 128px

* fix: adjust padding on invalid state

* fix: put back 128px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NumberInput with hideSteppers set as true adds unnecessary padding when in invalid state
4 participants