Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.form-control-file breaks out of column if input's width is bigger than column's width #24637

Closed
istratos opened this issue Nov 1, 2017 · 1 comment
Labels

Comments

@istratos
Copy link

istratos commented Nov 1, 2017

When using an input of type file (no classes) or with .form-control-file class inside a smaller column than the input's width, it breaks out of the column instead of being 100% width of its parent. Apparently custom file input is fine.

OS: macOS Sierra 10.12.6
Browser: Firefox 56, Chrome 61, Safari 11
JSBin: http://jsbin.com/xukuvofuwu/1/edit?html,output

You can resize the output window to around 700px to see what I mean. I don't know if it's supposed to be this way but I feel like it needs a fix. At least for the .form-control-file class since that is present in BS and should behave accordingly if possible.

@mdo
Copy link
Member

mdo commented Dec 24, 2017

This was fixed in #25054 with the width: 100% on that class.

@mdo mdo closed this as completed Dec 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants