Add padding to the right side of compose_query.cgi so that the
mouse hover boxes won't go off the page, even if they're in the
right-most column.
Signed-off-by: Jeremy Orlow <jorlow@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1627 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/display.py b/tko/display.py
index faab4cb..080ba02 100755
--- a/tko/display.py
+++ b/tko/display.py
@@ -235,8 +235,9 @@
Display the given matrix of data as a table.
"""
- print '<table bgcolor="%s" cellspacing="1" cellpadding="5">' % (
- color_map['borders'])
+ print ('<table bgcolor="%s" cellspacing="1" cellpadding="5" '
+ 'style="margin-right: 200px;">') % (
+ color_map['borders'])
for row in matrix:
print '<tr>'
for element in row: