[GH-ISSUE #175] Inline messages body cropped #143

Closed
opened 2026-02-25 21:34:16 +03:00 by kerem · 4 comments
Owner

Originally created by @szilardx on GitHub (Mar 17, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/175

Originally assigned to: @jasonmunro on GitHub.

Thank you for this great work! I could finally settle with a mail solution :)

I got a display problem: the body of inline messages got cropped.
Probable solution:
cypht/modules/inline_message/site.css
.search_content .msg_text, .message_list .msg_text { float: right; width: 50%; height: 50%; max-width: 50%; overflow: hidden; }
height should be 100%, or not set.

Thanks!

Originally created by @szilardx on GitHub (Mar 17, 2017). Original GitHub issue: https://github.com/cypht-org/cypht/issues/175 Originally assigned to: @jasonmunro on GitHub. Thank you for this great work! I could finally settle with a mail solution :) I got a display problem: the body of inline messages got cropped. Probable solution: cypht/modules/inline_message/site.css `.search_content .msg_text, .message_list .msg_text { float: right; width: 50%; height: 50%; max-width: 50%; overflow: hidden; }` height should be 100%, or not set. Thanks!
kerem closed this issue 2026-02-25 21:34:16 +03:00
Author
Owner

@jasonmunro commented on GitHub (Mar 17, 2017):

Interesting. I'm not seeing this behavior in chromium on linux, however I went ahead and removed the height rule from that css file in da8d9579 Let me know if that fixes the issue for you. Thanks for the feedback!

<!-- gh-comment-id:287407849 --> @jasonmunro commented on GitHub (Mar 17, 2017): Interesting. I'm not seeing this behavior in chromium on linux, however I went ahead and removed the height rule from that css file in da8d9579 Let me know if that fixes the issue for you. Thanks for the feedback!
Author
Owner

@szilardx commented on GitHub (Mar 19, 2017):

screenshot from 2017-03-19 13-47-48
Thanks, it solved it. I am using ubuntu-gnome, and chromium here also.
I investigated the problem, and it seems that the "height: 50%" was causing no problem, if the email was shorter then the email list on the left side. But I just got a super long email, and that revealed this problem.

I also found an other issue with inline messages: if the email is displayed in html, and has the width set, or the mail has a weirdly long attachment name, that cannot be wrapped, then you cannot see for example the download button, because the table has the overflow:hidden. So as a quick fix, that could be removed too.
I attached a screenshot showing the problem with attachments - overflow:hidden switched off for .msg_text in inspector.

I also have an another issue: downloading pdf, or xlsx attachments kind of works (hangs a little bit at 1mb) with Chromium, but fails completly in Firefox (ubuntu also), and on Android. I tried some settings already in nginx, and php-fpm, but no solution. Should I open an other issue here about this, or via email?

Thank you very much for the work!

<!-- gh-comment-id:287615195 --> @szilardx commented on GitHub (Mar 19, 2017): ![screenshot from 2017-03-19 13-47-48](https://cloud.githubusercontent.com/assets/15869670/24081093/afe75b8e-0cac-11e7-923b-a2b00da5dcd7.png) Thanks, it solved it. I am using ubuntu-gnome, and chromium here also. I investigated the problem, and it seems that the "height: 50%" was causing no problem, if the email was shorter then the email list on the left side. But I just got a super long email, and that revealed this problem. I also found an other issue with inline messages: if the email is displayed in html, and has the width set, or the mail has a weirdly long attachment name, that cannot be wrapped, then you cannot see for example the download button, because the table has the overflow:hidden. So as a quick fix, that could be removed too. I attached a screenshot showing the problem with attachments - overflow:hidden switched off for .msg_text in inspector. I also have an another issue: downloading pdf, or xlsx attachments kind of works (hangs a little bit at 1mb) with Chromium, but fails completly in Firefox (ubuntu also), and on Android. I tried some settings already in nginx, and php-fpm, but no solution. Should I open an other issue here about this, or via email? Thank you very much for the work!
Author
Owner

@jasonmunro commented on GitHub (Mar 21, 2017):

@szilardx Thanks for the follow up. I just removed the overflow property. As before, I'm not seeing this behavior, but I also don't see any reason not to remove it (not sure what I was thinking when I added it!).

If you could retest that would be great, and if it's resolved for you feel free to close this issue.

Could you please open a new issue for the download problem? It helps me keep track of things if we keep issues separated.

Thanks!

<!-- gh-comment-id:288094446 --> @jasonmunro commented on GitHub (Mar 21, 2017): @szilardx Thanks for the follow up. I just removed the overflow property. As before, I'm not seeing this behavior, but I also don't see any reason not to remove it (not sure what I was thinking when I added it!). If you could retest that would be great, and if it's resolved for you feel free to close this issue. Could you please open a new issue for the download problem? It helps me keep track of things if we keep issues separated. Thanks!
Author
Owner

@szilardx commented on GitHub (Mar 23, 2017):

Thanks, it works perfectly now!

<!-- gh-comment-id:288640663 --> @szilardx commented on GitHub (Mar 23, 2017): Thanks, it works perfectly now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#143
No description provided.