Skip to content

Commit 82d1d94

Browse files
authoredDec 12, 2022
fix(normalize): remove normalize styles for outdated browsers (#26465)
resolves #26464
1 parent 3852323 commit 82d1d94

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed
 

‎core/src/css/normalize.scss

+1-25
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,17 @@ strong {
3030
font-weight: bold;
3131
}
3232

33-
3433
// Embedded content
3534
// ==========================================================================
3635

37-
// Remove border when inside `a` element in IE 8/9/10.
36+
// Makes it so the img does not flow outside container
3837
img {
3938
max-width: 100%;
40-
41-
border: 0;
4239
}
4340

44-
// Correct overflow not hidden in IE 9/10/11.
45-
svg:not(:root) {
46-
overflow: hidden;
47-
}
48-
49-
5041
// Grouping content
5142
// ==========================================================================
5243

53-
// Address margin not present in IE 8/9 and Safari.
54-
figure {
55-
margin: 1em 40px;
56-
}
57-
5844
hr {
5945
height: 1px;
6046

@@ -194,16 +180,6 @@ input::-moz-focus-inner {
194180
border: 0;
195181
}
196182

197-
// Firefox's implementation doesn't respect box-sizing, padding, or width.
198-
// 1. Address box sizing set to `content-box` in IE 8/9/10.
199-
// 2. Remove excess padding in IE 8/9/10.
200-
input[type="checkbox"],
201-
input[type="radio"] {
202-
padding: 0; // 2
203-
204-
box-sizing: border-box; // 1
205-
}
206-
207183
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
208184
// `font-size` values of the `input`, it causes the cursor style of the
209185
// decrement button to change from `default` to `text`.

0 commit comments

Comments
 (0)
Please sign in to comment.