bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

input[type="image"] gets height and width set

Open blasdelf opened this issue 14 years ago • 3 comments

All input types get set to 210px wide and 18px high, which means image buttons get squashed ridiculously. Adding the radiused box-shadow border doesn't make much sense for image buttons either.

It may be too much to set those values for the individual input types since there are a number of nonstandard ones that different browsers and platforms support, but Bootstrap could at least reset height and width to auto on input[type="image"], and the fancy border stuff to none.

blasdelf avatar Dec 06 '11 01:12 blasdelf

I think there is already an issue opened for this: #716. Is that what you are talking about?

mkchandler avatar Dec 06 '11 04:12 mkchandler

Yes, it's the same problem.

Doing a 'mini-reset' after setting styles broadly seemed to be the house style, so I followed it in the patch.

I left the border-radius stuff w/ transition on :focus alone since you normally get a border in that situation and it might as well be consistent with the others.

blasdelf avatar Dec 06 '11 05:12 blasdelf

closing because this is a duplicate.

fat avatar Dec 10 '11 23:12 fat