Skip to content

Commit

Permalink
Fix pre text formatting and overflow
Browse files Browse the repository at this point in the history
Don't visually break `pre` text over multiple lines.

Trigger a scrollbar when the preformatted text is too wide for its
container.
  • Loading branch information
necolas committed Jan 25, 2014
1 parent 37ea6ae commit a8edd0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit a8edd0c

Please sign in to comment.