1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-22 12:41:21 +00:00

avoid horizotal scrollbar

This commit is contained in:
Jishnu Mohan 2012-11-18 18:44:02 +05:30
parent 60e63ff28f
commit 44a9a97ad9

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 {