Fixes #974 - add form-group.mdb-form-group so that padding is identical to floating label

This commit is contained in:
Kevin Ross 2016-04-29 16:15:08 -05:00
parent 716ec4ce1e
commit e86dc4d2c9

View File

@ -189,7 +189,9 @@ Because of this, you may need to manually address the width and alignment of ind
<label for="exampleInputEmail2" class="bmd-label-floating">Email</label>
<input type="email" class="form-control" id="exampleInputEmail2">
</div>
<button type="submit" class="btn btn-primary">Send invitation</button>
<span class="form-group bmd-form-group"> <!-- needed to match padding for floating labels -->
<button type="submit" class="btn btn-primary">Send invitation</button>
</span>
</form>
{% endexample %}