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

InputGroup with no right element sets right padding of input element to zero #1413

Closed
alexanderchr opened this issue Aug 6, 2017 · 1 comment

Comments

@alexanderchr
Copy link

Bug report

  • Package version(s): master branch
  • Browser and OS versions: NA

Steps to reproduce

  1. Render an InputGroup

Actual behavior

The text input rendered by the InputGroup has 10px left padding and 0 right padding, thanks to https://github.com/palantir/blueprint/blob/master/packages/core/src/components/forms/inputGroup.tsx#L117.

Expected behavior

The text input rendered by the input group should have $input-padding-horizontal padding on both sides. (

padding: 0 $input-padding-horizontal;
)

I don't know if this is an issue in general, but it appeared to me when using DateInput as the inputs rendered through that component are 10px narrower than regular inputs.

@giladgray giladgray added this to the 2.x milestone Mar 21, 2018
@giladgray giladgray modified the milestones: 2.x, 3.0 Apr 3, 2018
@giladgray
Copy link
Contributor

duplicate of #1861

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants