Skip to content

Disabled text wrapping on the torrent list table to enhance mobile view#23

Merged
sirrobot01 merged 2 commits into
sirrobot01:betafrom
eliasbenb:style/torrent-list-mobile-text-wrapping
Jan 29, 2025
Merged

Disabled text wrapping on the torrent list table to enhance mobile view#23
sirrobot01 merged 2 commits into
sirrobot01:betafrom
eliasbenb:style/torrent-list-mobile-text-wrapping

Conversation

@eliasbenb
Copy link
Copy Markdown
Contributor

@eliasbenb eliasbenb commented Jan 29, 2025

This PR disables text wrapping for the torrent list table on the title and size columns so that each row doesn't span multiple lines. multi-line rows look especially bad on mobile views but could also affect desktop views if the title is long enough.

Note

This PR truncates titles to a width of 350px. Hovering over the title will show a caption with the full title.

Before:

image

After:

image

Copy link
Copy Markdown
Owner

@sirrobot01 sirrobot01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Remove the devcontainer file though.

Comment thread .devcontainer/devcontainer.json Outdated
Comment thread pkg/qbit/server/templates/index.html
@sirrobot01 sirrobot01 merged commit 092a028 into sirrobot01:beta Jan 29, 2025
@eliasbenb eliasbenb deleted the style/torrent-list-mobile-text-wrapping branch January 29, 2025 02:39
sadmansakib pushed a commit to sadmansakib/decypharr that referenced this pull request Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants