From 44a9a97ad9c2247cbc4258a0368bd0b2da1eefd9 Mon Sep 17 00:00:00 2001 From: Jishnu Mohan Date: Sun, 18 Nov 2012 18:44:02 +0530 Subject: [PATCH] avoid horizotal scrollbar --- static/application.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/static/application.css b/static/application.css index 152f222..8a2588d 100644 --- a/static/application.css +++ b/static/application.css @@ -42,12 +42,17 @@ textarea { border: 0px; outline: none; font-size: 13px; - padding-right: 360px; } #box code { 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 */ @@ -56,7 +61,7 @@ textarea { position: fixed; top: 0px; right: 0px; - z-index: +1000; /* watch out */ + z-index: +1000; /* watch out */ } #box1 {