From ac333f3313b6fad77563d55be1ca4f9d3e689874 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 e1cf121159..b3424befc2 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 ee1c68c10ecb411c3bae14b37a9e269acb4e35be 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 ae8e3af32a..4d74f6accf 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