Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Fix queue container display error on Mac OS X 10.9 (fixes #323)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbhomes committed Jun 4, 2015
1 parent 1682054 commit 43481ef
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions radiant-player-mac/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,9 @@ - (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame

[self evaluateJavaScriptFile:@"styles"];

// Apply common styles.
[self applyCSSFile:@"common"];

// Apply the navigation styles.
[self applyCSSFile:@"navigation"];
[self evaluateJavaScriptFile:@"navigation"];
Expand Down
17 changes: 17 additions & 0 deletions radiant-player-mac/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* css/common.css
*
* Style fixes common to all styles.
*
* Created by Sajid Anwar.
*
* Subject to terms and conditions in LICENSE.md.
*
*/

/* Fix the queue display on OS X 10.9 */
#queue-overlay {
top: 128px;
height: auto;
margin-top: 0;
}
2 changes: 1 addition & 1 deletion radiant-player-mac/css/spotify-black.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ a, .simple-dialog a {
.material-container,
.material-playlist-container,
.songlist-container,
#queue-container {
#queue-overlay {
background-color: rgba(18, 19, 20, 0.98);
box-shadow: none;
}
Expand Down

0 comments on commit 43481ef

Please sign in to comment.