mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 18:02:37 +02:00
Drop Legacy Edge support.
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
This commit is contained in:
@@ -295,8 +295,6 @@ samp {
|
||||
// 1. Remove browser default top margin
|
||||
// 2. Reset browser default of `1em` to use `rem`s
|
||||
// 3. Don't allow content to break outside
|
||||
// 4. Disable auto-hiding scrollbar in legacy Edge to avoid overlap,
|
||||
// making it impossible to interact with the content
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
@@ -305,7 +303,6 @@ pre {
|
||||
overflow: auto; // 3
|
||||
@include font-size($code-font-size);
|
||||
color: $pre-color;
|
||||
-ms-overflow-style: scrollbar; // 4
|
||||
|
||||
// Account for some code outputs that place code tags in pre tags
|
||||
code {
|
||||
@@ -434,13 +431,6 @@ textarea {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
// Show the overflow in Edge
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
// Remove the inheritance of text transform in Firefox
|
||||
|
||||
button,
|
||||
@@ -516,8 +506,7 @@ fieldset {
|
||||
|
||||
// 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. Correct the text wrapping in Edge.
|
||||
// 3. Fix wrapping bug.
|
||||
// 2. Fix wrapping bug.
|
||||
// See https://github.com/twbs/bootstrap/issues/29712
|
||||
|
||||
legend {
|
||||
@@ -528,10 +517,9 @@ legend {
|
||||
@include font-size($legend-font-size);
|
||||
font-weight: $legend-font-weight;
|
||||
line-height: inherit;
|
||||
white-space: normal; // 2
|
||||
|
||||
+ * {
|
||||
clear: left; // 3
|
||||
clear: left; // 2
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user