Cleaner look for the torrent file list

This commit is contained in:
DC
2016-05-21 06:18:44 -07:00
parent ca7c872420
commit 6e969e5d07
2 changed files with 7 additions and 6 deletions

View File

@@ -592,7 +592,7 @@ body.drag .app::after {
} }
.torrent-details { .torrent-details {
padding: 8em 12px 20px 20px; padding: 8em 0 20px 0;
} }
.torrent-details table { .torrent-details table {
@@ -617,7 +617,7 @@ body.drag .app::after {
.torrent-details td { .torrent-details td {
overflow: hidden; overflow: hidden;
padding: 0; padding: 0;
vertical-align: bottom; vertical-align: middle;
} }
.torrent-details td .icon { .torrent-details td .icon {
@@ -627,7 +627,8 @@ body.drag .app::after {
} }
.torrent-details td.col-icon { .torrent-details td.col-icon {
width: 2em; width: 3em;
padding-left: 16px;
} }
.torrent-details td.col-name { .torrent-details td.col-name {
@@ -646,7 +647,8 @@ body.drag .app::after {
} }
.torrent-details td.col-select { .torrent-details td.col-select {
width: 2em; width: 3em;
padding-right: 13px;
text-align: right; text-align: right;
} }

View File

@@ -190,7 +190,6 @@ function TorrentList (state) {
(file, index) => renderFileRow(torrentSummary, file, index)) (file, index) => renderFileRow(torrentSummary, file, index))
filesElement = hx` filesElement = hx`
<div class='files'> <div class='files'>
<strong>Files</strong>
<table> <table>
${fileRows} ${fileRows}
</table> </table>
@@ -223,7 +222,7 @@ function TorrentList (state) {
var icon var icon
var handleClick var handleClick
if (isPlayable) { if (isPlayable) {
icon = 'play_arrow' /* playable? add option to play */ icon = 'play_circle_outline' /* playable? add option to play */
handleClick = dispatcher('play', infoHash, index) handleClick = dispatcher('play', infoHash, index)
} else { } else {
icon = 'description' /* file icon, opens in OS default app */ icon = 'description' /* file icon, opens in OS default app */