aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/mywatch.css3
-rw-r--r--static/mywatch.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/static/mywatch.css b/static/mywatch.css
index 78993e9..354c03a 100644
--- a/static/mywatch.css
+++ b/static/mywatch.css
@@ -1,3 +1,4 @@
#serverList li { display: inline-block; }
-table#processList td { white-space: nowrap; }
table th { text-align: center; }
+table#processList td { white-space: nowrap; }
+table#processList td.mywatch-query { white-space: pre-wrap; }
diff --git a/static/mywatch.js b/static/mywatch.js
index 02d0bf6..d648764 100644
--- a/static/mywatch.js
+++ b/static/mywatch.js
@@ -35,7 +35,7 @@ $(function() {
var td = $('<td>');
td.text(p[c]);
if ('info' === c) {
- td.css('white-space', 'pre-wrap');
+ td.addClass('mywatch-query');
} else if ('time' === c) {
td.css('text-align', 'right');
} else if ('id' === c) {