Skip to content

Commit

Permalink
Add form-control-legend
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke committed Feb 19, 2016
1 parent 255e89b commit 727722d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ select.form-control {
margin-bottom: 0; // Override the `<label>` default
}

//
// Legends
//

// For use with horizontal and inline forms, when you need the legend text to
// be the same size as regular labels, and to align with the form controls.
.form-control-legend {
padding: $input-padding-y $input-padding-x;
margin-bottom: 0;
font-size: $font-size-base;
}


// Todo: clear this up

Expand Down

0 comments on commit 727722d

Please sign in to comment.