-
Notifications
You must be signed in to change notification settings - Fork 30
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
has-float-label class apply on all labels #21
Comments
The change you mentioned in the SCSS mixins file has likely affected the behavior of the float label in your HTML elements. This change might have been made for various reasons, including improving compatibility with other CSS frameworks or addressing specific use cases. Without the exact context of the change, it's challenging to provide a specific explanation. However, if you're experiencing issues with float labels in version 1.0.2 that were not present in version 1.0.0, and you don't want to change your HTML structure, you can try the following approaches to address the problem:
css
Remember that when working with CSS and third-party libraries, updates can sometimes introduce unexpected behavior. Customizing the CSS is often the quickest way to address such issues while maintaining your existing HTML structure. |
This code worked fine in version 1.0.0, now in version 1.0.2 it breaks
Aparently, this change scss/_mixins.scss#L6 made all spans inside a
.has-float-label
element become a float label, when it shouldn'tCan someone explain to me why this change was made? And why it was needed?
In my application we have a lot of fields, all of them using float label. We had been using
v1.0.0
, but a new dependency madev1.0.2
required and this bug appeared.I know I can change the
span
s top
but how could I solve this without messing with the current HTML?The text was updated successfully, but these errors were encountered: