Fix long playlist strings breaking viewport - #8275
Conversation
|
@ozrendev Please do a follow up pull request that reverts these changes on small screen widths. Limiting to 85% of the window width is alright with large window sizes, but on mobile phones where the screen is already really small, only filling 85% of the screen width with content looks odd and requires users to scroll more. When you are making layout changes to FreeTube always test on desktop and mobile window sizes. |
Will do! Sorry I totally didn't think about mobile viewport |
* development: (22 commits) Workaround ready-to-show not firing consistently on wayland (FreeTubeApp#8294) Bump electron from 38.4.0 to 39.2.1 (FreeTubeApp#8303) Migrate the WatchVideoInfo component to the composition API (FreeTubeApp#8295) Translated using Weblate (Hungarian) Translated using Weblate (Norwegian Bokmål) Translated using Weblate (French) Bump eslint-plugin-jsdoc from 61.1.12 to 61.2.1 in the eslint group (FreeTubeApp#8298) Replace broken trending with a local API only equivalent (FreeTubeApp#8289) Fix settings layout issues after the Vue 3 migration (FreeTubeApp#8292) Bump lefthook from 2.0.3 to 2.0.4 (FreeTubeApp#8299) Bump shaka-player from 4.16.8 to 4.16.9 (FreeTubeApp#8301) Bump electron-builder from 26.1.0 to 26.2.0 (FreeTubeApp#8302) Fix playlist video view counts on the local API (FreeTubeApp#8290) change hardcoded color app text logoColor (FreeTubeApp#8288) Translated using Weblate (Russian) Translated using Weblate (German) wrap long playlist strings (FreeTubeApp#8275) Translated using Weblate (Bulgarian) Bump js-yaml from 4.1.0 to 4.1.1 (FreeTubeApp#8284) bump workflows node-version to 24 (FreeTubeApp#8279) ... # Conflicts: # src/renderer/helpers/api/invidious.js
* development: Fix playlist video view counts on the local API (FreeTubeApp#8290) change hardcoded color app text logoColor (FreeTubeApp#8288) Translated using Weblate (Russian) Translated using Weblate (German) wrap long playlist strings (FreeTubeApp#8275) Translated using Weblate (Bulgarian) Bump js-yaml from 4.1.0 to 4.1.1 (FreeTubeApp#8284) bump workflows node-version to 24 (FreeTubeApp#8279) Translated using Weblate (Basque) Translated using Weblate (Vietnamese) Translated using Weblate (Hungarian) Translated using Weblate (Hungarian) Remove upperCase on various places (FreeTubeApp#8267) Translated using Weblate (French) Fix subscription count display on watch page with IV API (FreeTubeApp#8255) Specify window position in constructor for better wayland compatibility (FreeTubeApp#8238) Change profile icon to include lowercase letters (FreeTubeApp#8253) Translated using Weblate (German) Translated using Weblate (Chinese (Traditional Han script)) Translated using Weblate (Portuguese (Brazil))


Pull Request Type
Related issue
closes #7104
Description
Long strings inside Playlists break the Channel Home and Playlists viewport and push content down. This PR wraps them correctly.
Screenshots
Channel Home Before

Channel Home After

Playlist Before

Playlist After

Testing
Go to a channel with very long playlist name (for example: mai_dq)
See that channel home page is not "pushed down" in the viewport
Scroll down to see that long playlist string is wrapped correctly
Click on View Playlist
See that long playlist string is wrapped correctly in playlist view