morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.87k stars 598 forks source link

[BUG] Margins too big in chat #124

Open exp111 opened 2 years ago

exp111 commented 2 years ago

Describe the bug I'm using a relatively big screen (2560x1440), so I mostly have two browser windows open (one on the left side and one on the right side, split in the middle resulting in both having the width of ~1278).

The problem is that once you hit a width higher than 1275, the chat content (messages and such) suddenly shrinks massively and creates these massive margins at the side. See picture 1 (width of 1276).

For comparison a width of 1275 see picture 2.

Why not just make the whole chat messages fit the whole chat "tab". While having some big margins is a fault in general with modern ui (especially something that takes from mobile design), this feels like a oversight.

To Reproduce Steps to reproduce the behavior:

  1. Have a window width of over 1275px
  2. Feel the pain that is modern ui

Expected behavior Keep the chat content full size and not take half the space with useless margins.

Screenshots 1 (width of 1276): grafik 2 (width of 1275): grafik

Also you've got like massive margins at the sides of the total container after going over a total width of ~1680: grafik

Desktop:

danisztls commented 2 years ago

Fixed this issue for Ferdium (custom CSS to make it like Z version)

https://github.com/ferdium/ferdium-recipes/pull/33