style improvements

- make torrent placeholder the exact size of a normal torrent
- make torrent list window minimum size of two torrents
- make window start out sized for 4 torrents
- increase font size responsively
This commit is contained in:
Feross Aboukhadijeh
2016-03-08 15:39:39 -08:00
parent 3b3ebc717a
commit 6946ab3507
3 changed files with 47 additions and 27 deletions

View File

@@ -11,8 +11,8 @@ function TorrentList (state, dispatch) {
return hx`
<div class='torrent-list'>
${list}
<div class='drop-target'>
<p>Drop a torrent file here or paste a magnet link</p>
<div class='torrent-placeholder'>
<span class='ellipsis'>Drop a torrent file here or paste a magnet link</span>
</div>
</div>`
}