bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

.btn on input have different heights in FF

Open boulox opened this issue 13 years ago • 2 comments

As mention here https://bugzilla.mozilla.org/show_bug.cgi?id=697451 there is a proposal fix.

Possible fix for bootstrap:

input[type="button"], 
input[type="reset"], 
input[type="submit"] {
  -moz-box-sizing:content-box;
  min-height: @baseLineHeight;
}

This fix the height issue but also have impact on the text alignment inside the button. Unsure the fix worth it.


Edit: add a jsfiddle to showcase the fix http://jsfiddle.net/S8SSJ/

boulox avatar Mar 14 '13 07:03 boulox

related https://github.com/twitter/bootstrap/issues/2985

boulox avatar Mar 14 '13 08:03 boulox

This is noted in the docs, and has come up in issues before. Please check those out for context.

Everything will be set to border-box in v3, too, so this would conflict with that a bit.

mdo avatar Mar 15 '13 01:03 mdo