Merge pull request #499 from feross/fix-fullscreen-button
Fix for overflowing captions icon
This commit is contained in:
@@ -94,7 +94,7 @@ function createMainWindow () {
|
|||||||
icon: config.APP_ICON + 'Smaller.png', // Window and Volume Mixer icon.
|
icon: config.APP_ICON + 'Smaller.png', // Window and Volume Mixer icon.
|
||||||
minWidth: config.WINDOW_MIN_WIDTH,
|
minWidth: config.WINDOW_MIN_WIDTH,
|
||||||
minHeight: config.WINDOW_MIN_HEIGHT,
|
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,
|
title: config.APP_WINDOW_TITLE,
|
||||||
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
|
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
|
||||||
useContentSize: true, // Specify web page size without OS chrome
|
useContentSize: true, // Specify web page size without OS chrome
|
||||||
|
|||||||
@@ -751,9 +751,15 @@ body.drag .app::after {
|
|||||||
.player-controls .volume-icon,
|
.player-controls .volume-icon,
|
||||||
.player-controls .back {
|
.player-controls .back {
|
||||||
display: block;
|
display: block;
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Fix for overflowing captions icon
|
||||||
|
* https://github.com/feross/webtorrent-desktop/issues/467
|
||||||
|
*/
|
||||||
|
max-width: 22px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.player-controls .volume,
|
.player-controls .volume,
|
||||||
|
|||||||
Reference in New Issue
Block a user