textwrapping.patch (1,165 bytes)
From bc21790a9a0f8ca507d39d72836046f3e7fc72b9 Mon Sep 17 00:00:00 2001
From: Stephen Groat <sgroat@titanium.cirt.vt.edu>
Date: Mon, 17 Sep 2012 11:04:33 -0400
Subject: [PATCH] Enable text wrapping in log entries and other text entry
blocks
Signed-off-by: Stephen Groat <sgroat@vt.edu>
---
wwwroot/css/pi.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/wwwroot/css/pi.css b/wwwroot/css/pi.css
index e4b881b..d355da5 100644
--- a/wwwroot/css/pi.css
+++ b/wwwroot/css/pi.css
@@ -451,7 +451,7 @@ border-color: #ff8c00;
}
div.commentblock {
- white-space: pre;
+ white-space: pre-wrap;
text-align: left;
}
@@ -493,7 +493,7 @@ div.commentblock {
.slbconf {
text-align: left;
- white-space: pre;
+ white-space: pre-wrap;
font-family: monospace;
}
@@ -631,7 +631,7 @@ div.vlan {
background-color: #FFFFFF;
padding: 5px;
font-family: monospace;
- white-space: pre;
+ white-space: pre-wrap;
}
/*header line in port conf popup div*/
@@ -778,7 +778,7 @@ a.noclick {
.logentry {
text-align: left;
- white-space: pre;
+ white-space: pre-wrap;
font-family: monospace;
font-style: italic;
}
--
1.7.9.5