Roundcube Community Forum

Release Support => Pending Issues => Topic started by: VA1DER on August 13, 2024, 09:15:37 PM

Title: Larry display bug in Chrome-based browsers
Post by: VA1DER on August 13, 2024, 09:15:37 PM
There is a display bug in Larry in wide-screen message-list + message-pane format.  Subjects that are wider than the message-list aren't being properly ellipsed and cause the subject to push onto the next line.

This occurs in every Chrome-based browser I used, including Chromium, Chrome, and Edge.

This patch will solve the issue and cause the message list to display properly:

# diff -u5 mail.css.orig mail.css
--- mail.css.orig 2023-01-24 13:14:13.000000000 -0400
+++ mail.css 2024-08-13 21:51:22.959996988 -0300
@@ -1509,10 +1509,11 @@
 }
 
 .widescreen .messagelist td.subject span.subject {
  clear: both;
  display: block;
+ white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
 }

This may actually be a slight bug in the way that Chrome interprets text-overflow in the CSS.  I think that "text-overflow: ellipsis" is supposed to imply "white-space: nowrap", but Google apparently thinks differently.