diff --git a/src/styles/controls/task-table.css b/src/styles/controls/task-table.css index 9075105..1b39ae4 100644 --- a/src/styles/controls/task-table.css +++ b/src/styles/controls/task-table.css @@ -45,18 +45,11 @@ .task-table .task-name { font-size: 14px; display: block; - word-break: keep-all; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } .task-table .peer-name-wrapper { display: inline-block; width: 100%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } .task-table .task-files, .task-table .task-size { diff --git a/src/styles/core/core.css b/src/styles/core/core.css index cafa4c4..6c063eb 100644 --- a/src/styles/core/core.css +++ b/src/styles/core/core.css @@ -38,6 +38,17 @@ td { cursor: pointer !important; } +.allow-word-break { + word-wrap: break-word; + word-break: break-all; +} + +.auto-ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + @media (max-width: 767px) { .navbar-nav .open .dropdown-menu { position: absolute; diff --git a/src/views/list.html b/src/views/list.html index 4803381..c4f6031 100644 --- a/src/views/list.html +++ b/src/views/list.html @@ -38,7 +38,7 @@
diff --git a/src/views/task-detail.html b/src/views/task-detail.html index bfda2bb..73e8454 100644 --- a/src/views/task-detail.html +++ b/src/views/task-detail.html @@ -28,7 +28,7 @@ Task Name
- +
@@ -117,7 +117,7 @@ Info Hash
- +
@@ -125,7 +125,7 @@ Download Dir
- +
@@ -138,7 +138,8 @@ title="{{(context.collapseTrackers ? 'Expand' : 'Collapse') | translate}}">
-
+
@@ -221,7 +222,7 @@
- +
@@ -276,7 +277,7 @@
-
+