Improve mobile layout and responsiveness for torrent components#953
Merged
rogerfar merged 1 commit intorogerfar:mainfrom Apr 7, 2026
Merged
Improve mobile layout and responsiveness for torrent components#953rogerfar merged 1 commit intorogerfar:mainfrom
rogerfar merged 1 commit intorogerfar:mainfrom
Conversation
rogerfar
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the responsiveness and readability of the torrent table and torrent detail views, especially on smaller screens. It introduces new CSS classes and media queries to enhance layout adaptability and ensures long strings (like hashes and file paths) break correctly to avoid overflow. The most significant changes are grouped below:
Responsive Layout Enhancements:
torrent-table.component.scssandtorrent.component.scssto adjust flex direction, spacing, and button widths for screens smaller than 768px, improving usability on mobile devices. (client/src/app/torrent-table/torrent-table.component.scss[1]client/src/app/torrent/torrent.component.scss[2]client/src/app/torrent/torrent.component.scssclient/src/app/torrent/torrent.component.scssR25-R45)Improved Text Wrapping:
.break-allCSS class and applied it to elements displaying long strings (hashes, file paths, and download links) to prevent overflow and maintain layout integrity. (client/src/app/torrent/torrent.component.scss[1]client/src/app/torrent/torrent.component.html[2] [3] [4] [5]Structural HTML Adjustments:
.table-containerdiv for better styling and potential horizontal scrolling on narrow screens. (client/src/app/torrent/torrent.component.html[1] [2] [3]is-grouped-multilineandaction-buttonsclasses to button groups for improved button arrangement and responsiveness. (client/src/app/torrent/torrent.component.htmlclient/src/app/torrent/torrent.component.htmlL26-R26)These changes collectively enhance the application's usability and appearance across a range of device sizes.