Skip to content

Layout problem with form-inline class #11

@ahocquet

Description

@ahocquet

Hi,

I have an issue when using this style within a form-inline. The typeahead input inserts a kind of line break and isn't displayed next to the label :

image

So, I added a css rule to fix it. But i'm not a css guru at all, and it's surely doesn't respect CSS coding best practices.

.form-inline .twitter-typeahead {
    width: auto;
    float: none;
}

image

It almost does the trick. The last problem is that the label is not vertically aligned in the middle. Adding a vertical-align property to the css rule made the trick :

.form-inline .twitter-typeahead {
    width: auto;
    float: none;
    vertical-align: middle;
}

image

Once again, I'm not a css expert at all. It's just a dirty quick fix to fit my needs. I'm looking forward to see a proper solution :)

Sorry for the english, it's not my native language. Do not hesitate to correct my typos :)

Aixki

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions