mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
Remove .help-block entirely
- Fixes #13267 somewhat. - Instead of a single, block-level class, let's use a combination of existing elements and classes. - For block-level help text, use p.text-muted. - For inline-level help text, use span.text-muted or small.text-muted.
This commit is contained in:
@@ -385,19 +385,6 @@ $form-icon-error: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGl
|
||||
// }
|
||||
|
||||
|
||||
// Help text
|
||||
//
|
||||
// Apply to any element you wish to create light text for placement immediately
|
||||
// below a form control. Use for general help, formatting, or instructional text.
|
||||
|
||||
.help-block {
|
||||
display: block; // account for any element using help-block
|
||||
margin-top: .25rem;
|
||||
margin-bottom: .75rem;
|
||||
color: lighten($body-color, 25%); // lighten the text some for contrast
|
||||
}
|
||||
|
||||
|
||||
// Inline forms
|
||||
//
|
||||
// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
|
||||
|
Reference in New Issue
Block a user