View Issue Details

IDProjectCategoryView StatusLast Update
608RackTablesdefaultpublic2012-09-24 00:56
Reportersgroat Assigned Toadoom42  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformChrome 
Product Version0.20.0 
Target Version0.20.1Fixed in Version0.20.1 
Summary608: Text not wrapping in Log Records
DescriptionLog records with long entries are not wrapping the text properly.
TagsNo tags attached.
Attached Files
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

textwrapping.patch (1,165 bytes)   

Activities

sgroat

sgroat

2012-09-17 17:06

reporter   ~0000798

Added a patch to enable text wrapping. Involves changes to CSS file
adoom42

adoom42

2012-09-24 00:56

administrator   ~0000811

This will be available in 0.20.1. Thanks for the patch.

Issue History

Date Modified Username Field Change
2012-09-17 16:41 sgroat New Issue
2012-09-17 17:06 sgroat File Added: textwrapping.patch
2012-09-17 17:06 sgroat Note Added: 0000798
2012-09-24 00:56 adoom42 Note Added: 0000811
2012-09-24 00:56 adoom42 Assigned To => adoom42
2012-09-24 00:56 adoom42 Status new => closed
2012-09-24 00:56 adoom42 Resolution open => fixed
2012-09-24 00:56 adoom42 Fixed in Version => 0.20.1
2012-09-24 00:56 adoom42 Target Version => 0.20.1