bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Auto scale width input box bug responsive

Open sannefoltz opened this issue 14 years ago • 1 comments

Congrats with the beautiful work and release.

I found a possible bug (if I understand your work correctly) in the auto width of the input boxes at portrait tablet size.

See my test case, resize the output a bit, you'll see the overflow problem of the input boxes. http://jsfiddle.net/eKk95/

Regards, S

sannefoltz avatar Feb 02 '12 15:02 sannefoltz

Ah, this is an issue of using the horizontal forms here. I might make it so you can use grid classes more easily here, but that might not be possible for 2.x (we have to maintain backward compatibility). In this case, I'd recommend using the default stacked form layout until we can resolve this.

For context, and if you'd like to fiddle, I'm thinking (1) remove the fixed width on .control-label, (2) add a .span* class to .control-label, (3) add .offset* with the same number of columns to .controls. This should do what you want as the horizontal forms behave differently than our regular grid system.

mdo avatar Feb 21 '12 02:02 mdo