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

Long labels wrapping badly, duplicated label with focused input. #20

Open
kacpermaciejevvski opened this issue Apr 20, 2018 · 0 comments

Comments

@kacpermaciejevvski
Copy link

Playing around with long labels causing badly looking, wrapped text. Here's the quick fix for that so:

.has-float-label label { white-space: nowrap; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; display:block; }

Focused input is showing placeholder and label in the same time. Quick fix for this too:

.has-float-label .form-control:focus::placeholder { color: transparent; }

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

1 participant