]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Document change to hr in v5 (#34574)
authorMark Otto <markd.otto@gmail.com>
Tue, 27 Jul 2021 05:25:07 +0000 (23:25 -0600)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 05:25:07 +0000 (08:25 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/content/docs/5.0/migration.md

index e6db422c4677ac6fd65246afdaf7f1ed7f252179..226c3d21accf3e9f87f1c6a36df9909e267b844d 100644 (file)
@@ -131,6 +131,8 @@ toc: true
 
 - <span class="badge bg-danger">Breaking</span> Dropped `.text-justify` class. [See #29793](https://github.com/twbs/bootstrap/pull/29793)
 
+- <span class="badge bg-danger">Breaking</span> `<hr>` elements now use `height` instead of `border` to better support the `size` attribute. This also enables use of padding utilities to create thicker dividers (e.g., `<hr class="py-1">`).
+
 - Reset default horizontal `padding-left` on `<ul>` and `<ol>` elements from browser default `40px` to `2rem`.
 
 - Added `$enable-smooth-scroll`, which applies `scroll-behavior: smooth` globally—except for users asking for reduced motion through `prefers-reduced-motion` media query. [See #31877](https://github.com/twbs/bootstrap/pull/31877)