avoid horizotal scrollbar

This commit is contained in:
Jishnu Mohan 2012-11-18 18:44:02 +05:30
parent 60e63ff28f
commit 44a9a97ad9
1 changed files with 8 additions and 3 deletions

View File

@ -42,12 +42,17 @@ textarea {
border: 0px; border: 0px;
outline: none; outline: none;
font-size: 13px; font-size: 13px;
padding-right: 360px;
} }
#box code { #box code {
padding: 0px; padding: 0px;
background: transparent !important; /* don't hide hastebox */ word-break: break-all;
-ms-word-break: break-all;
/* Chrome*/
word-break: break-word;
hyphens: auto;
-webkit-hyphens: auto;
-moz-hyphens: auto;
} }
/* key */ /* key */
@ -56,7 +61,7 @@ textarea {
position: fixed; position: fixed;
top: 0px; top: 0px;
right: 0px; right: 0px;
z-index: +1000; /* watch out */ z-index: +1000; /* watch out */
} }
#box1 { #box1 {