mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Fix pre
text formatting and overflow
Don't visually break `pre` text over multiple lines. Trigger a scrollbar when the preformatted text is too wide for its container.
This commit is contained in:
parent
37ea6ae187
commit
a8edd0c5aa
4
normalize.css
vendored
4
normalize.css
vendored
@ -172,11 +172,11 @@ samp {
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability of pre-formatted text in all browsers.
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user