diff --git a/index.js b/index.js index 8aa66c6b..55b90f4c 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,7 @@ function createMainWindow () { backgroundColor: '#282828', darkTheme: true, minWidth: 360, - minHeight: 168, + minHeight: 158, show: false, title: 'WebTorrent', titleBarStyle: 'hidden-inset', diff --git a/main/index.css b/main/index.css index a2f5eaec..ba9063c6 100644 --- a/main/index.css +++ b/main/index.css @@ -15,7 +15,7 @@ body { cursor: default; height: 100%; font-family: BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif; - font-size: 16px; + font-size: 14px; line-height: 1.5em; margin: 0; padding: 0; @@ -73,12 +73,11 @@ a:not(.disabled):hover { .header { border-bottom: 1px solid rgb(20, 20, 20); height: 37px; - padding-top: 6px; + padding-top: 8px; overflow: hidden; } .header .title { - font-size: 14px; opacity: 0.6; position: absolute; width: 100%; @@ -156,7 +155,7 @@ body.drag::before { */ .torrent { - height: 130px; + height: 120px; padding: 20px; background: rgba(0, 0, 0, 0.5); background-repeat: no-repeat; @@ -182,9 +181,9 @@ body.drag::before { .torrent .btn { float: right; - margin-top: 21px; + margin-top: 20px; margin-left: 20px; - padding-top: 9px; + padding-top: 10px; } .torrent .play { @@ -201,7 +200,7 @@ body.drag::before { } .torrent .name { - font-size: 1.6em; + font-size: 1.5em; font-weight: bold; line-height: 1.5em; }