[3887] trunk/htdocs/system/classes/utils.php: Scroll if debug output is wider than the containing element rather than overflowing into other content , which often makes it unreadable.

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Dec 15, 2009, 6:30:14 PM12/15/09
to habar...@googlegroups.com
Revision
3887
Author
michaeltwofish
Date
2009-12-15 23:30:13 +0000 (Tue, 15 Dec 2009)

Log Message

Scroll if debug output is wider than the containing element rather than overflowing into other content, which often makes it unreadable.

Modified Paths

Diff

Modified: trunk/htdocs/system/classes/utils.php (3886 => 3887)


--- trunk/htdocs/system/classes/utils.php	2009-12-14 02:33:53 UTC (rev 3886)
+++ trunk/htdocs/system/classes/utils.php	2009-12-15 23:30:13 UTC (rev 3887)
@@ -306,7 +306,7 @@
 				</script>
 				<style type=\"text/css\">
 				.utils__debugger{background-color:#550000;border:1px solid red;text-align:left;}
-				.utils__debugger pre{margin:5px;background-color:#000}
+				.utils__debugger pre{margin:5px;background-color:#000;overflow-x:scroll}
 				.utils__debugger pre em{color:#dddddd;}
 				.utils__debugger table{background-color:#770000;color:white;width:100%;}
 				.utils__debugger tr{background-color:#000000;}
Reply all
Reply to author
Forward
0 new messages