-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Responsively hiding prefix icons in forms is buggy #1715
Labels
Comments
Can you post a simple codepen to demonstrate the issue? it would help us identify the problems more quickly. |
@acburst This should help explain the problem: http://codepen.io/sushruth/pen/NqMVXE . Try resizing the window. |
@media only screen and (max-width: 992px){
.input-field .prefix.hide-on-med-and-down ~ label,
.input-field .prefix.hide-on-med-and-down ~ input {
margin-left:0;
}
.input-field .prefix.hide-on-med-and-down ~ input{
width: 100%;
}
} |
Closed due inactivity. Feel free to reopen it, if it's still necessary. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Applying any of the
.hide-*
classes to.prefix
in an input field are resulting in buggy UI. Propertiesmargin-left
andwidth:calc(100% - 3rem)
of the inputs and/or labels leave empty space in the place of icon.The text was updated successfully, but these errors were encountered: