Browse Source

Fixes #273 issue with dropdown icons breaking layout

pull/183/head
jlukic 11 years ago
parent
commit
3d11dcc8b8
2 changed files with 4 additions and 2 deletions
  1. 2
      server/documents/modules/dropdown.html.eco
  2. 4
      src/modules/dropdown.less

2
server/documents/modules/dropdown.html.eco

@ -506,8 +506,8 @@ type : 'UI Module'
<label>Gender</label> <label>Gender</label>
<div class="ui dropdown selection"> <div class="ui dropdown selection">
<input type="hidden" name="gender"> <input type="hidden" name="gender">
<i class="dropdown icon"></i>
<div class="default text">...</div> <div class="default text">...</div>
<i class="dropdown icon"></i>
<div class="menu"> <div class="menu">
<div class="item" data-value="male">Male</div> <div class="item" data-value="male">Male</div>
<div class="item" data-value="female">Female</div> <div class="item" data-value="female">Female</div>

4
src/modules/dropdown.less

@ -88,7 +88,6 @@
---------------*/ ---------------*/
.ui.dropdown > .dropdown.icon { .ui.dropdown > .dropdown.icon {
float: right;
width: auto; width: auto;
margin: 0em 0em 0em 1em; margin: 0em 0em 0em 1em;
} }
@ -400,6 +399,9 @@
.ui.fluid.dropdown { .ui.fluid.dropdown {
display: block; display: block;
} }
.ui.fluid.dropdown > .dropdown.icon {
float: right;
}
/*-------------- /*--------------
Inline Inline

Loading…
Cancel
Save