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] Menu won't resize on small screens / items not scrollable (potential fix included) #54

Closed erayrafet closed 3 years ago

erayrafet commented 3 years ago

Describe the bug The main menu isn't scrollable and gets cropped off on small screens (high zoom).

To Reproduce Steps to reproduce the behavior:

  1. Increase page zoom level.
  2. Click on the left menu button.
  3. Try to scroll down.
  4. See error.

Expected behavior The menu itself to be reduced in height and the list to be scrollable.

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context My own fix is this CSS snippet:

`

column-left .sidebar-tools-button .btn-menu {

max-height: 90vh; overflow: overlay; } ` image

Video demo: https://drive.google.com/file/d/1YHIQZKO9ZHTQQMWa38AlQePzkgBlGMFa/view?usp=sharing

morethanwords commented 3 years ago

Thank you for the report! Fixed in 0.9.0 (13). By the way, you have an awesome theme!