mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 00:29:52 +02:00
feat: removes .form-text
display (#30598)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
@@ -570,7 +570,7 @@ $btn-transition: color .15s ease-in-out, background-color .15s ease
|
||||
// Forms
|
||||
|
||||
$form-text-margin-top: .25rem !default;
|
||||
$form-text-font-size: null !default;
|
||||
$form-text-font-size: $small-font-size !default;
|
||||
$form-text-font-style: null !default;
|
||||
$form-text-color: $text-muted !default;
|
||||
|
||||
@@ -772,7 +772,8 @@ $form-file-height-lg: $input-height-lg !default;
|
||||
// Form validation
|
||||
|
||||
$form-feedback-margin-top: $form-text-margin-top !default;
|
||||
$form-feedback-font-size: $small-font-size !default;
|
||||
$form-feedback-font-size: $form-text-font-size !default;
|
||||
$form-feedback-font-style: $form-text-font-style !default;
|
||||
$form-feedback-valid-color: $success !default;
|
||||
$form-feedback-invalid-color: $danger !default;
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
//
|
||||
|
||||
.form-text {
|
||||
display: block;
|
||||
margin-top: $form-text-margin-top;
|
||||
@include font-size($form-text-font-size);
|
||||
font-style: $form-text-font-style;
|
||||
|
@@ -19,6 +19,7 @@
|
||||
width: 100%;
|
||||
margin-top: $form-feedback-margin-top;
|
||||
@include font-size($form-feedback-font-size);
|
||||
font-style: $form-feedback-font-style;
|
||||
color: $color;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user