diff --git a/README.md b/README.md index d47249fc..a943f7c2 100755 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Iris Iris (previously known as Spotmop) is a Mopidy HTTP client that utilizes Spotify to create an interactive, user-friendly and collaborative music interface. Built and maintained by James Barnsley. - - + + [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=james%40barnsley%2enz&lc=NZ&item_name=James%20Barnsley¤cy_code=NZD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted) Features @@ -20,17 +20,17 @@ Features Screenshots ----------- - + - + - + - + - + - + Requirements @@ -44,20 +44,20 @@ Requirements Installation -------- -1. Install using pip: `sudo pip install Mopidy-Spotmop` +1. Install using pip: `sudo pip install Mopidy-Iris` 2. Restart Mopidy server -3. Navigate to Mopidy interface (ie http://localhost:6680/spotmop) +3. Navigate to Mopidy interface (ie http://localhost:6680/iris) Development ----- -1. Clone this repository into a your Apache2 web directory (ie `/var/www/html/`) +1. Clone this repository into a your Apache2 web directory (eg `/var/www/html/`) 2. Install in develop mode `python setup.py install develop` 3. Restart mopidy Support ------- -* [Changelog](https://github.com/jaedb/spotmop/releases) -* [Issues and requests](https://github.com/jaedb/spotmop/issues) +* [Changelog](https://github.com/jaedb/iris/releases) +* [Issues and requests](https://github.com/jaedb/iris/issues) diff --git a/src/js/components/ContextMenu.js b/src/js/components/ContextMenu.js index 05d83fb8..2dbc14f6 100755 --- a/src/js/components/ContextMenu.js +++ b/src/js/components/ContextMenu.js @@ -222,6 +222,9 @@ class ContextMenu extends React.Component{ className += ' '+this.props.context_menu.trigger } + if (this.props.context_menu.position_x > (window.innerWidth - 154)) className += ' right-align' + if (this.props.context_menu.position_x > (window.innerWidth - 308)) className += ' right-align-submenu' + return (