Browse Source

fixes inline fields

pull/13/head
Jack Lukic 11 years ago
parent
commit
ec88fa2c1b
2 changed files with 17 additions and 1 deletions
  1. 16
      docs/form.html
  2. 2
      src/ui/flat/form.css

16
docs/form.html

@ -377,6 +377,22 @@
<h2>Variations</h2>
<h4>Fluid</h4>
<p>A form can take the width of its container</p>
<div class="ui fluid form segment">
<div class="two fields">
<div class="field">
<label>First Name</label>
<input placeholder="First Name" type="text">
</div>
<div class="field">
<label>Last Name</label>
<input placeholder="Last Name" type="text">
</div>
</div>
<div class="ui blue submit button">Submit</div>
</div>
<h4>Size</h4>
<p>A form can also be small or large</p>
<div class="ui small form segment">

2
src/ui/flat/form.css

@ -412,7 +412,7 @@
.ui.form .inline.fields .field > :first-child,
.ui.form .inline.field > :first-child {
margin-right: 0.5em;
margin: 0em 0.5em 0em 0em;
}

Loading…
Cancel
Save