mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Remove unnecessary pre
styles
`word-wrap: break-word` was only needed for IE 6/7, and `white-space: pre` is the default for all supported browsers. Fix gh-159
This commit is contained in:
parent
63acb0bf1d
commit
28f1518666
@ -1,5 +1,6 @@
|
|||||||
== HEAD
|
== HEAD
|
||||||
|
|
||||||
|
* Remove unnecessary `pre` styles.
|
||||||
* Add `main` element to HTML5 display definitions.
|
* Add `main` element to HTML5 display definitions.
|
||||||
* Fix cursor style for disabled button `input`.
|
* Fix cursor style for disabled button `input`.
|
||||||
|
|
||||||
|
2
normalize.css
vendored
2
normalize.css
vendored
@ -160,9 +160,7 @@ samp {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
white-space: pre;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user