diff options
| author | Gaƫl Poupard <[email protected]> | 2022-02-22 09:02:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-22 10:02:47 +0200 |
| commit | 37f3977e6d96e274cb73255d99e3e4ec60f03c0f (patch) | |
| tree | a2d781d8b25ae492b89fc5154ed3a7421e721129 /scss/_reboot.scss | |
| parent | 0804c0043f5bae586834a9b9ef1e2301e8452794 (diff) | |
| download | bootstrap-37f3977e6d96e274cb73255d99e3e4ec60f03c0f.tar.xz bootstrap-37f3977e6d96e274cb73255d99e3e4ec60f03c0f.zip | |
Rely on `border-width` for `<hr>` size (#35491)
* fix(reboot): revert hr styles to v4 implementation
* docs(cheatsheet): add a hr example
* fix(reboot): currentColor is the initial border-color value
* Document hr element in Reboot docs
* Update migration guide
* Update scss/_variables.scss
Co-authored-by: Mark Otto <[email protected]>
Diffstat (limited to 'scss/_reboot.scss')
| -rw-r--r-- | scss/_reboot.scss | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index bf0eb9e25..259f59eb4 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -64,20 +64,15 @@ body { // Content grouping // // 1. Reset Firefox's gray color -// 2. Set correct height and prevent the `size` attribute to make the `hr` look like an input field hr { margin: $hr-margin-y 0; color: $hr-color; // 1 - background-color: $hr-bg-color; - border: $hr-border-width; + border: 0; + border-top: $hr-border-width solid $hr-border-color; opacity: $hr-opacity; } -hr:not([size]) { - height: $hr-height; // 2 -} - // Typography // |
