From f9b32bc3dedef5ddeb2271c6d03d80e0b0f1471f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 13 Nov 2024 17:29:02 +0100 Subject: [PATCH 1/2] Docs: fix `.order` values in the migration guide (#41030) --- site/content/docs/5.3/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.3/migration.md b/site/content/docs/5.3/migration.md index 9fbe4a377f51..781867f4e50d 100644 --- a/site/content/docs/5.3/migration.md +++ b/site/content/docs/5.3/migration.md @@ -445,7 +445,7 @@ Want more information? [Read the v5.1.0 blog post.](https://blog.getbootstrap.co - Columns no longer have `position: relative` applied, so you may have to add `.position-relative` to some elements to restore that behavior. -- Breaking Dropped several `.order-*` classes that often went unused. We now only provide `.order-1` to `.order-5` out of the box. +- Breaking Dropped several `.order-*` classes that often went unused. We now only provide `.order-0` to `.order-5` out of the box. - Breaking Dropped the `.media` component as it can be easily replicated with utilities. [See #28265](https://github.com/twbs/bootstrap/pull/28265) and the [flex utilities page for an example]({{< docsref "/utilities/flex#media-object" >}}). From cacbdc680ecdfee5f0c7fbb876ad15188eaf697d Mon Sep 17 00:00:00 2001 From: "Patrick (Casus Belli)" Date: Thu, 14 Nov 2024 11:12:33 +0100 Subject: [PATCH 2/2] Fix left alignment of floating labels with `.form-select` size variants (#41013) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Patrick Kroog Co-authored-by: Christian Oliff Co-authored-by: Julien Déramond Co-authored-by: Louis-Maxime Piton --- js/tests/visual/floating-label.html | 56 +++++++++++++++++++++++++++++ scss/forms/_floating-labels.scss | 1 + 2 files changed, 57 insertions(+) diff --git a/js/tests/visual/floating-label.html b/js/tests/visual/floating-label.html index f78442eff1e7..debecd7ebdfe 100644 --- a/js/tests/visual/floating-label.html +++ b/js/tests/visual/floating-label.html @@ -167,6 +167,34 @@ + +
+ + +
+
+ + +
+
+ + +
@@ -329,6 +357,34 @@
+ +
+ + +
+
+ + +
+
+ + +
diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss index b366505881d6..38df115561b8 100644 --- a/scss/forms/_floating-labels.scss +++ b/scss/forms/_floating-labels.scss @@ -51,6 +51,7 @@ > .form-select { padding-top: $form-floating-input-padding-t; padding-bottom: $form-floating-input-padding-b; + padding-left: $form-floating-padding-x; } > .form-control:focus,