UI: Reduce font size, list item height

- Reduce torrent list item from 120px to 110px height
- Vertically center torrent list buttons
- Reduce font sizes (torrent list, modal labels)
This commit is contained in:
Feross Aboukhadijeh
2016-05-11 20:49:41 +02:00
parent 95019453fd
commit 0b1872fa28
3 changed files with 8 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ function TorrentList (state) {
if (downloaded !== total) downloaded += ` / ${total}`
elements.push(hx`
<div class='status ellipsis'>
<div class='ellipsis'>
${getFilesLength()}
<span>${getPeers()}</span>
<span>↓ ${prettyBytes(prog.downloadSpeed || 0)}/s</span>
@@ -81,7 +81,7 @@ function TorrentList (state) {
</div>
`)
elements.push(hx`
<div class='status2 ellipsis'>
<div class='ellipsis'>
<span class='progress'>${progress}%</span>
<span>${downloaded}</span>
</div>