-
+
- {{ torrent.hash }}
+ {{ torrent.hash }}
@@ -240,72 +240,75 @@
@if (activeTab === 1) {
-
-
-
- | ID |
- Path |
- Size |
- Selected |
-
-
-
- @for (file of torrent.files; track file.id) {
+
+
+
- |
- {{ file.id }}
- |
-
- {{ file.path }}
- |
-
- {{ file.bytes | filesize }}
- |
-
- @if (file.selected) {
-
- } @else {
-
- }
- |
+ ID |
+ Path |
+ Size |
+ Selected |
- }
-
-
+
+
+ @for (file of torrent.files; track file.id) {
+
+ |
+ {{ file.id }}
+ |
+
+ {{ file.path }}
+ |
+
+ {{ file.bytes | filesize }}
+ |
+
+ @if (file.selected) {
+
+ } @else {
+
+ }
+ |
+
+ }
+
+
+
}
@if (activeTab === 2) {
-
-
-
- |
- Link |
- Size |
- Status |
-
-
-
- @for (download of torrent.downloads; track download.downloadId) {
- @let expanded = downloadExpanded[download.downloadId];
-
- |
- @if (!expanded) {
-
- } @else {
-
- }
- |
-
- @if (download.link) {
- {{ download.link | decodeURI }}
- }
- @if (!download.link) {
- {{ download.path }}
- }
- |
+
+
+
+
+ |
+ Link |
+ Size |
+ Status |
+
+
+
+ @for (download of torrent.downloads; track download.downloadId) {
+ @let expanded = downloadExpanded[download.downloadId];
+
+ |
+ @if (!expanded) {
+
+ } @else {
+
+ }
+ |
+
+ @if (download.link) {
+ {{ download.link | decodeURI }}
+ }
+ @if (!download.link) {
+ {{ download.path }}
+ }
+ |
{{ download.bytesTotal | filesize }}
|
@@ -335,10 +338,10 @@
-
+
{{ download.path }}
@@ -431,8 +434,9 @@
}
}
-
-
+
+
+
}
diff --git a/client/src/app/torrent/torrent.component.scss b/client/src/app/torrent/torrent.component.scss
index 5d62b1c..090a64b 100644
--- a/client/src/app/torrent/torrent.component.scss
+++ b/client/src/app/torrent/torrent.component.scss
@@ -8,6 +8,10 @@ table {
}
}
+.break-all {
+ word-break: break-all;
+}
+
.flex-container {
display: flex;
flex: 1 1 0;
@@ -18,3 +22,24 @@ table {
flex-direction: column;
}
}
+
+@media screen and (max-width: 768px) {
+ .action-buttons {
+ .control {
+ width: 100%;
+
+ .button {
+ width: 100%;
+ }
+ }
+ }
+
+ .tabs ul {
+ flex-wrap: wrap;
+
+ li {
+ flex-grow: 1;
+ text-align: center;
+ }
+ }
+}