From 727722da59d16e421851dbc5d11bcd652ef55d97 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" <redux@splintered.co.uk> Date: Fri, 19 Feb 2016 15:35:00 +0000 Subject: [PATCH] Add form-control-legend --- scss/_forms.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scss/_forms.scss b/scss/_forms.scss index 729ca764fd..9a031c3ac2 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -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 -- GitLab