[AppDB] Allow Extra Comments text to wrap

Rosanne DiMesio dimesio at earthlink.net
Tue May 30 13:56:58 CDT 2017


Wraps text in the Extra Comments field to the
window so users don't have to scroll horizontally.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/testData.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/testData.php b/include/testData.php
index 8ba45c1..07918bb 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -524,7 +524,7 @@ class testData{
         return "<p><b>What works</b></p>\n<p>{$this->shWhatWorks}</p>\n".
                "<p><b>What does not</b></p>\n<p>{$this->shWhatDoesnt}</p>\n".
                "<p><b>What was not tested</b></p>\n<p>{$this->shWhatNotTested}</p>\n".
-               "<p><b>Additional Comments</b></p>\n<pre>{$this->sComments}</pre>\n";
+               "<p><b>Additional Comments</b></p>\n<pre style='white-space: pre-wrap;'>{$this->sComments}</pre>\n";
     }
 
     function CreateTestTable()
-- 
2.12.0




More information about the wine-patches mailing list