You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(TextInput): reset input styling — border-box and border: none #150
Input components have styling issues when consumed in projects with different CSS resets:
Missing box-sizing: border-box on the input container — padding causes the element to overflow its expected size
Inner <input> element needs border: none — browser default borders show through
Expected Behavior
Any XDS element with padding should have box-sizing: border-box so sizing is predictable
Inner <input> elements should have their browser default border stripped
Scope
XDSTextInput
XDSTextArea
XDSNumberInput
Any other components wrapping native <input> or <textarea>
Audit other components with padding to ensure box-sizing: border-box is set
Discovered In
Testing XDS source distribution in a standalone Next.js app (xds_sandbox) where the consuming project's CSS reset differs from the XDS storybook environment.
Activity
fix(inputs): add border-box and reset inner input borders
fix(inputs): add border-box sizing and reset inner input borders
fix(inputs): add border-box and reset inner input borders (#151)
fix(inputs): add border-box and reset inner input borders (#151)