{"action":"closed","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/16272","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/16272/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/16272/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/16272/events","html_url":"https://github.com/twbs/bootstrap/issues/16272","id":67658482,"number":16272,"title":"filename isn't vertically centered in Chrome's file input","user":{"login":"jvanasco","id":204779,"avatar_url":"https://avatars.githubusercontent.com/u/204779?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanasco","html_url":"https://github.com/jvanasco","followers_url":"https://api.github.com/users/jvanasco/followers","following_url":"https://api.github.com/users/jvanasco/following{/other_user}","gists_url":"https://api.github.com/users/jvanasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanasco/subscriptions","organizations_url":"https://api.github.com/users/jvanasco/orgs","repos_url":"https://api.github.com/users/jvanasco/repos","events_url":"https://api.github.com/users/jvanasco/events{/privacy}","received_events_url":"https://api.github.com/users/jvanasco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/css","name":"css","color":"563d7c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-10T18:50:43Z","updated_at":"2015-04-26T05:33:56Z","closed_at":"2015-04-26T05:33:56Z","body":"The text on file inputs is not centered on Chrome. \r\n\r\nThis looks to be an issue with Chrome, as it is centered on Safari and FireFox.  The baseline for the text is shifted up a few pixels.\r\n\r\nI don't know if this is fixable cross-browser in a good way.\r\n\r\nsetting line-height to 0 seems to help a bit\r\n\r\n     input[type=\"file\"] {\r\n       display: block;\r\n    +  line-height: 0;\r\n     }\r\n\r\nChrome default\r\n\r\n![fileinput-default](https://cloud.githubusercontent.com/assets/204779/7094568/7600dcd8-df90-11e4-81e1-9d569e4c1229.png)\r\n\r\nRecentered\r\n\r\n![fileinput-better](https://cloud.githubusercontent.com/assets/204779/7094570/78bfd384-df90-11e4-9999-9d6932a233ed.png)"}}