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

compatibility with select2 #26

Open
jf3r123 opened this issue Mar 22, 2019 · 1 comment
Open

compatibility with select2 #26

jf3r123 opened this issue Mar 22, 2019 · 1 comment

Comments

@jf3r123
Copy link

jf3r123 commented Mar 22, 2019

To make has-float-label compatible with select2. In previous versions you only need to apply a small change in the script, ".has-float-label> span" add the pseudo-element "not (.select2)" to prevent -float-label from being applied to the span tags that you create select2 but now with the style improvements it is not possible to apply that change.

.has-float-label label, .has-float-label> span: not (.select2) {
        position: absolute;
        left: 0;
        top: 0;
        cursor: text;
        font-size: 75%;
        opacity: 1;
        -webkit-transition: all .2s;
        transition: all .2s;
        top: -.5em;
        left: 0.75rem;
        z-index: 3;
        line-height: 1;
        padding: 0 1px;
    }

@vn2706
Copy link

vn2706 commented Oct 3, 2023

Can u pls assign this issue to me, I would like to work on it..

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

2 participants