From fcd3458d6fc4c18f24dc975adfa4c2854cd7f49b Mon Sep 17 00:00:00 2001 From: Oleksandr Tkachenko Date: Fri, 15 Dec 2023 14:30:15 +0200 Subject: [PATCH] Fix `getBoundingClientRect()` performance with elements. --- scss/_reboot.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 18791753d0ca..f2096e28802e 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -489,23 +489,13 @@ fieldset { border: 0; // 2 } -// 1. By using `float: left`, the legend will behave like a block element. -// This way the border of a fieldset wraps around the legend if present. -// 2. Fix wrapping bug. -// See https://github.com/twbs/bootstrap/issues/29712 - legend { - float: left; // 1 width: 100%; padding: 0; margin-bottom: $legend-margin-bottom; @include font-size($legend-font-size); font-weight: $legend-font-weight; line-height: inherit; - - + * { - clear: left; // 2 - } } // Fix height of inputs with a type of datetime-local, date, month, week, or time