mail icon indicating copy to clipboard operation
mail copied to clipboard

Message thread width does not reduce according to viewport width

Open jancborchardt opened this issue 3 years ago • 2 comments

With 2.0.0-beta.2 on tech-preview

When you make the window narrower or go into mobile mode, the threads and mail texts are cropped off on the right side because they do not reduce in width.

jancborchardt avatar Sep 06 '22 14:09 jancborchardt

Thanks @jancborchardt :+1:

Hope you don't mind when I add some of my findings to this issue as they look related.

Issue 1: Width 1440. Message component is wider than viewport

Screencast from 06.09.2022 16:55:01.webm

Issue 2: Width 1024. Envelope list is not visibile

image

Please let me know if we need a dedicated issue for those.

kesselb avatar Sep 06 '22 15:09 kesselb

Perfect, thank you @kesselb! :) Those are exactly my issues too, just didn’t have a test account to take screenshots with.

jancborchardt avatar Sep 06 '22 16:09 jancborchardt

It appears to happen for a very small range of window widths now. Yet I can not figure our where this is coming from.

ChristophWurst avatar Oct 07 '22 16:10 ChristophWurst

Did the nc-vue breakpoints change with the new padded body container?

ChristophWurst avatar Oct 07 '22 16:10 ChristophWurst

Bingo. Setting the breakpoint to 1008px (1024-2*8) resolves this issue.

ChristophWurst avatar Oct 07 '22 16:10 ChristophWurst

I think this is solved with https://github.com/nextcloud/nextcloud-vue/pull/3329

szaimen avatar Oct 08 '22 08:10 szaimen

~~This needs a backport to stable1.14. We can probably hard code the changes from nextcloud-vue into the stable1.14 branch because a bump is not feasible.~~

Ref https://github.com/nextcloud/mail/issues/7424#issuecomment-1279107539

EDIT: The linked screenshot is from v2.0.0.

st3iny avatar Oct 18 '22 09:10 st3iny

Fixed by #7419

st3iny avatar Oct 18 '22 09:10 st3iny