From fd0fc769b1716772e9e1cb39757612f05d7e1181 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 12 May 2016 17:54:16 -0700 Subject: [PATCH 1/2] Fix for overflowing captions icon Closes #467. --- renderer/index.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/renderer/index.css b/renderer/index.css index e1cf1211..b3424bef 100644 --- a/renderer/index.css +++ b/renderer/index.css @@ -751,9 +751,15 @@ body.drag .app::after { .player-controls .volume-icon, .player-controls .back { display: block; - width: 20px; height: 20px; margin: 5px; + + /* + * Fix for overflowing captions icon + * https://github.com/feross/webtorrent-desktop/issues/467 + */ + max-width: 22px; + overflow: hidden; } .player-controls .volume, From 6468f82a7f91841989238a22db66e9089f6f284d Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 12 May 2016 17:54:23 -0700 Subject: [PATCH 2/2] Small comment fix --- main/windows.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/windows.js b/main/windows.js index ae8e3af3..4d74f6ac 100644 --- a/main/windows.js +++ b/main/windows.js @@ -94,7 +94,7 @@ function createMainWindow () { icon: config.APP_ICON + 'Smaller.png', // Window and Volume Mixer icon. minWidth: config.WINDOW_MIN_WIDTH, minHeight: config.WINDOW_MIN_HEIGHT, - show: false, // Hide window until DOM finishes loading + show: false, // Hide window until renderer sends 'ipcReady' event title: config.APP_WINDOW_TITLE, titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X) useContentSize: true, // Specify web page size without OS chrome