diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2022-09-18 10:27:18 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2022-09-18 10:28:31 +0300 |
commit | 6ecce3b28ef31d48a7f0e5d1bafb5dfd4812812f (patch) | |
tree | 0b52ebd8182d939aa8e71777e8c809dc620d8892 /assets/stylesheets/bootstrap/forms | |
parent | c548a9a69cc1d4b833696722666c1c610cf9f4a0 (diff) |
Update to v5.2.1v5.2.1
1. `rake 'update[23e50829f958ea1d741d63e2781716be037e4644]'`
2. Bump minimum `popper_js` version (2.11.5 -> 2.11.6).
3. Bump version in README.md and version.rb.
Diffstat (limited to 'assets/stylesheets/bootstrap/forms')
-rw-r--r-- | assets/stylesheets/bootstrap/forms/_floating-labels.scss | 1 | ||||
-rw-r--r-- | assets/stylesheets/bootstrap/forms/_input-group.scss | 11 |
2 files changed, 8 insertions, 4 deletions
diff --git a/assets/stylesheets/bootstrap/forms/_floating-labels.scss b/assets/stylesheets/bootstrap/forms/_floating-labels.scss index acefe4e..6e5c9a7 100644 --- a/assets/stylesheets/bootstrap/forms/_floating-labels.scss +++ b/assets/stylesheets/bootstrap/forms/_floating-labels.scss @@ -16,6 +16,7 @@ height: 100%; // allow textareas padding: $form-floating-padding-y $form-floating-padding-x; overflow: hidden; + text-align: start; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; diff --git a/assets/stylesheets/bootstrap/forms/_input-group.scss b/assets/stylesheets/bootstrap/forms/_input-group.scss index 83d52c5..247f74a 100644 --- a/assets/stylesheets/bootstrap/forms/_input-group.scss +++ b/assets/stylesheets/bootstrap/forms/_input-group.scss @@ -22,7 +22,7 @@ > .form-control:focus, > .form-select:focus, > .form-floating:focus-within { - z-index: 3; + z-index: 5; } // Ensure buttons are always above inputs for more visually pleasing borders. @@ -33,7 +33,7 @@ z-index: 2; &:focus { - z-index: 3; + z-index: 5; } } } @@ -120,10 +120,13 @@ $validation-messages: $validation-messages + ":not(." + unquote($state) + "-tooltip)" + ":not(." + unquote($state) + "-feedback)"; } - > :not(:first-child):not(.dropdown-menu):not(.form-floating)#{$validation-messages}, + > :not(:first-child):not(.dropdown-menu)#{$validation-messages} { + margin-left: -$input-border-width; + @include border-start-radius(0); + } + > .form-floating:not(:first-child) > .form-control, > .form-floating:not(:first-child) > .form-select { - margin-left: -$input-border-width; @include border-start-radius(0); } } |