Skip to content

Commit

Permalink
Limit window size, truncate current audio in mini player
Browse files Browse the repository at this point in the history
  • Loading branch information
Perkovec committed Apr 27, 2016
1 parent bd9f730 commit 4f4e9ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ function makeMain (){
mainWindow = new BrowserWindow({
width: 800,
height: 600,
minWidth: 400,
minHeight: 400,
frame: false
});

Expand Down
7 changes: 5 additions & 2 deletions browser/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ body {
height: 10px;
overflow: hidden;
position: relative;
top: 50%;
top: 30%;
transform: translate( 0, -50% );
background: $player-progress-bg-color;

Expand All @@ -279,7 +279,10 @@ body {

.player-played-info {
position: relative;
line-height: 10px;
line-height: 17px;
overflow:hidden;
white-space:nowrap;
text-overflow: ellipsis;
}

}
Expand Down

0 comments on commit 4f4e9ec

Please sign in to comment.