Skip to content

Commit

Permalink
Merge pull request #499 from feross/fix-fullscreen-button
Browse files Browse the repository at this point in the history
Fix for overflowing captions icon
  • Loading branch information
feross committed May 13, 2016
2 parents e2423d7 + ee1c68c commit f10aa6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion renderer/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f10aa6a

Please sign in to comment.