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:
parent
60e63ff28f
commit
44a9a97ad9
1 changed files with 8 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue