Skip to content

Make inputs and search bars work better with icons and labels #266

Discussion options

You must be logged in to vote

Turns out, it all works without any change to FUI as expected, if you always order the dom-tags for icon, input and label in the desired and described order:

left icon right labeled

<div class="ui left icon right labeled input">
    <i class="icon"></i>
    <input>
    <div class="label"></div>
</div

right icon left labeled

<div class="ui right icon left labeled input">
    <div class="label"></div>
    <input>
    <i class="icon"></i>
</div

See here
https://jsfiddle.net/051prbce/1/

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #266 on October 06, 2020 19:44.