Author Topic: CSS. Long text for the subject of the letter (R1.5.6) [SOLVED]  (Read 5989 times)

Offline allexnew

  • Newbie
  • *
  • Posts: 2
CSS. Long text for the subject of the letter (R1.5.6) [SOLVED]
« on: November 23, 2023, 07:00:46 AM »
Hi. After the penultimate chrome update, the problem started. If the email has a long subject and it does not fit into the "messages" column, the subject text is moved to the next line under the marker and moves to the left. It looks ugly. What can be corrected in CSS style to fix this problem? In the browser, for example, FireFox, everything is fine. I attach a screenshot.

Roundcube 1.5.6
Chrome 119.0.6045.159 (linux 64); (Windows chrome has the same problem.)
« Last Edit: November 24, 2023, 05:38:32 AM by allexnew »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,866
Re: CSS style for the subject (long text for the subject of the letter)
« Reply #1 on: November 24, 2023, 01:16:32 AM »
Are you using the Larry skin? If so this was fixed in version 1.6.1of the skin see https://github.com/roundcube/larry/issues/3
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline allexnew

  • Newbie
  • *
  • Posts: 2
Re: CSS style for the subject (long text for the subject of the letter)
« Reply #2 on: November 24, 2023, 05:36:45 AM »
Thank you very much!

Solution for version 1.5.6:

1. Open the /skins/larry/mail.css file in a text editor.
2. Find line 1460. Comment out the line. The block should look like this:
Code: [Select]
.widescreen .messagelist td.subject {
width: 99%;
/*white-space: wrap;*/
position: relative; /* for span.date positioning in Firefox */
}
3. Save file.
4. Open the /skins/larry/mail.min.css file in a text editor.
5. Find the next code in the text:
Code: [Select]
{width:99%;white-space:wrap;position:relative}6. Delete the "white-space:wrap;" in this code;
7. The code should look like this:
Code: [Select]
{width:99%;position:relative}8. Save file.
9. Delete the files in the <roundcube>/temp folder, except for the file .htaccess
10. Restart apache.
11. Clear your browser cache on the client.
12. Use.

The fix will work for all skins except Classic.  ;)
To fix the "classic" skin, you need to do the same with the files classic/mail.css  and classic/mail.min.css  in the classic skin.
« Last Edit: December 06, 2023, 05:03:49 AM by allexnew »