Merge pull request #499 from feross/fix-fullscreen-button

Fix for overflowing captions icon
This commit is contained in:
Feross Aboukhadijeh
2016-05-12 17:57:51 -07:00
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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,