You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2023/08/23 13:07:11 UTC

[felix-dev] branch master updated: FELIX-6630 Allow newlines in description (#232)

This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ff39ffa1c FELIX-6630 Allow newlines in description (#232)
5ff39ffa1c is described below

commit 5ff39ffa1c974c8ecb2dc9c17a5e6ab5b64a1c7a
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Wed Aug 23 15:07:04 2023 +0200

    FELIX-6630 Allow newlines in description (#232)
    
    - Modified CSS styling to preserve newline characters in description to allow for nicer formatting
---
 webconsole/src/main/resources/res/ui/config.css | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/webconsole/src/main/resources/res/ui/config.css b/webconsole/src/main/resources/res/ui/config.css
index 05b0a7a6fd..66d0861776 100644
--- a/webconsole/src/main/resources/res/ui/config.css
+++ b/webconsole/src/main/resources/res/ui/config.css
@@ -63,17 +63,18 @@ input.placeholder-active { color: #AAA !important }
 
 .topPaddedText {
 	padding-top: 0.4em !important;
+	white-space: pre-wrap;
 }
 
 .iconMarginTop {
 	margin-top: .25em;
 }
-.pid { 
-	font-style: italic 
+.pid {
+	font-style: italic
 }
-.pid:before { 
-	content: " (" 
+.pid:before {
+	content: " ("
 }
-.pid:after { 
+.pid:after {
 	content: ")"
-}
\ No newline at end of file
+}