From e3c62883d135e847e0ab01c017424311fdcbb17f Mon Sep 17 00:00:00 2001 From: Crystal Lai Date: Wed, 21 Aug 2019 13:56:54 +0200 Subject: [PATCH 1/2] changed pre component to word-wrap: break-word; --- gsa/src/web/entity/box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsa/src/web/entity/box.js b/gsa/src/web/entity/box.js index 126f93b2ed..59cdfc17d3 100644 --- a/gsa/src/web/entity/box.js +++ b/gsa/src/web/entity/box.js @@ -39,7 +39,7 @@ import TableRow from 'web/components/table/row'; const Pre = styled.pre` white-space: pre-wrap; - word-wrap: normal; + word-wrap: break-word; `; const BoxLayout = styled(Layout)` From b4ca4cb71cf3102526efe58e183f4bfdb7b25db6 Mon Sep 17 00:00:00 2001 From: Crystal Lai Date: Tue, 27 Aug 2019 15:27:06 +0200 Subject: [PATCH 2/2] Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 636d7430ce..2e729ec141 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#1507](https://github.com/greenbone/gsa/pull/1507) ### Changed +- word-wrap in pre component [#1586](https://github.com/greenbone/gsa/pull/1586) - Update default filter for report details page [#1552](https://github.com/greenbone/gsa/pull/1552) - Adjust HelpIcons to use GOS 5 manual [#1549](https://github.com/greenbone/gsa/pull/1549) [#1550](https://github.com/greenbone/gsa/pull/1550) - Adjust clickable areas for Select and MultiSelect [#1545](https://github.com/greenbone/gsa/pull/1545)