Skip to content

Commit

Permalink
feat(input): Add top and bottom padding to the input field.
Browse files Browse the repository at this point in the history
To fix an IE11 bug with the text moving up and down slightly. (shrug)
  • Loading branch information
ryanoglesby08 committed Sep 28, 2017
1 parent 3114b79 commit 05100fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Input/Input.modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ input.input {
width: 100%;

// FIXME: Will be able to use composes when removing the targeting of the <input> element above
//composes: noSpacing from '../Spacing/Spacing.modules.scss';
padding: 0;
//composes: noMargin from '../Spacing/Spacing.modules.scss';
margin: 0;
// This top+bottom padding fixes an IE11 bug that was causing the input value to jump slightly and get cut off.
padding: $spacing-tight 0;

outline: 0;

Expand Down

0 comments on commit 05100fa

Please sign in to comment.