Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Cross-browser compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
loonkwil committed May 5, 2013
1 parent 8e52c60 commit b603302
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions auto-grow.css
Expand Up @@ -15,11 +15,14 @@
box-sizing: border-box; /* Opera/IE 8+ */

background: transparent;
white-space: -moz-pre; /* Firefox */
white-space: -o-pre; /* newer Opera */
white-space: -pre; /* ancient Opera */
white-space: pre; /* Chrome; W3C standard */

white-space: -moz-pre-wrap; /* Firefox */
white-space: -o-pre-wrap; /* newer Opera */
white-space: -pre-wrap; /* ancient Opera */
white-space: pre-wrap; /* Chrome; W3C standard */
word-wrap: break-word; /* IE */

word-break: break-all;
}

textarea.auto-growing-editor {
Expand Down

0 comments on commit b603302

Please sign in to comment.