material icon indicating copy to clipboard operation
material copied to clipboard

Disabled input border-bottom misaligned

Open RolandHeath opened this issue 11 years ago • 5 comments

The bottom border of input elements becomes misaligned by 1 pixel when disabled, as demonstrated here

The fix is pretty simple, you can see it in #5283 In the example plunk you can see it by uncommenting the reference to style.css

RolandHeath avatar Oct 21 '15 10:10 RolandHeath

@RolandHeath I'm having the same problem and I think the problem is in this margin-bottom: -1px assigned to the input elements when disabled

I tested on Chrome and Firefox and removing this rule fix the border-bottom misaligned

lazychino avatar Nov 05 '15 16:11 lazychino

@RolandHeath Thanks for your pull request :+1:, can u please reference that pull request / commit with that issue, the right guidelines for contributing can u find here. https://github.com/angular/material/blob/master/docs/guides/CONTRIBUTING.md#-git-commit-guidelines

devversion avatar Nov 05 '15 17:11 devversion

@DevVersion Hopefully that should fix it - I've changed the PR title and redone the commit to update the message. Let me know if it needs any more work.

RolandHeath avatar Nov 09 '15 04:11 RolandHeath

Looks good to me :+1: Thanks for fixing it :)

devversion avatar Nov 09 '15 06:11 devversion

This issue seems to be solved in the latest version

RolandHeath avatar Jan 08 '16 05:01 RolandHeath