Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   line breaks in 'Subject', posted by Evinrude Motor on Sun Aug 13 20:24:41 2023 
    icon2.gif   Re: line breaks in 'Subject', posted by Stefan Ritt on Mon Aug 14 08:35:58 2023 
       icon2.gif   Re: line breaks in 'Subject', posted by Evinrude Motor on Mon Aug 14 13:15:38 2023 
Message ID: 69681     Entry time: Mon Aug 14 08:35:58 2023     In reply to: 69680     Reply to this: 69682
Icon: Reply  Author: Stefan Ritt  Author Email: Therestefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.5-1 
Subject: Re: line breaks in 'Subject' 

There are two locations where 'Subject' is shown, the list display and the individual message display. I guess you mean the first one. 

In that case, you can modify the CSS styel sheet 'elog.css' and add following statement to the classes list2 and list2h:

.list2 {
   ...
   white-space: nowrap;
}  

.list2h {
   ...
   white-space: nowrap;
}  

 

Evinrude Motor wrote:

Certain characters contained in the 'Subject' will cause the text to split into multiple lines .

For example if  I enter "My Subject" in the 'Subject' field it is displayed as

My

Subject

If I enter "My_Subject" it is displayed as 

My_Subject

Is there any way to change this so no line breaks are created ?

 

ELOG V3.1.5-3fb85fa6