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

Multiple files & text overflow #40

Closed
mapreal19 opened this issue Feb 19, 2019 · 6 comments
Closed

Multiple files & text overflow #40

mapreal19 opened this issue Feb 19, 2019 · 6 comments

Comments

@mapreal19
Copy link

screenshot 2019-02-19 at 20 46 43

I was able to remove the content out of the label with overflow: hidden; white-space: nowrap;. Using text-overflow: ellipsis; didn't work though. Is this something worth pursuing?

source: https://www.codelord.net/2013/08/23/css-tip-overflowing-with-text/

@Johann-S
Copy link
Owner

Hi I made an example how to handle multiple files and text overflow see "Example with label containing a child" here: https://bs-custom-file-input.netlify.com/

@mapreal19
Copy link
Author

Thanks!

@arthurshlain
Copy link

ovwrflow
Issue not solved...

@Johann-S
Copy link
Owner

@arthurshlain it's the last one "Example with label containing a child"

@arthurshlain
Copy link

Ok, thats works. But with that solution i cannot use Laravel {{ Form::label() }} construction. (I can't pass HTML for span element to the second parameter).

@Johann-S
Copy link
Owner

You can use a div instead of a label, I hope it'll help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants