Modal padding

This commit is contained in:
James Barnsley
2016-12-12 16:16:17 +13:00
parent 5885439e48
commit 81b860c6a8
4 changed files with 8 additions and 4 deletions

View File

@ -33,7 +33,7 @@ class SendAuthorizationModal extends React.Component{
render(){
return (
<div>
<h4 className="no-padding">Share Spotify authentication</h4>
<h4 className="no-bottom-padding">Share Spotify authentication</h4>
<h3 className="grey-text">Send your authentication tokens to another client. When the recipient client imports this, their Iris will have full access to your Spotify account.</h3>
<div className="list pusher-connection-list">
{

View File

@ -70,11 +70,11 @@ class SpotifyAuthenticationFrame extends React.Component{
);
}else if( this.props.authorized ){
return (
<button onClick={() => this.props.actions.authorizationRevoked()}>Log out</button>
<button className="destructive" onClick={() => this.props.actions.authorizationRevoked()}>Log out</button>
);
}else{
return (
<button onClick={() => this.startAuthorization()}>Log in</button>
<button className="primary" onClick={() => this.startAuthorization()}>Log in</button>
);
}
}

View File

@ -12,7 +12,7 @@ const localstorageMiddleware = (function(){
// append our state to a global variable. This gives us access to debug the store at any point
window._store = store
console.log(action)
//console.log(action)
switch( action.type ){

View File

@ -102,6 +102,10 @@
background: rgba(255,255,255,0.1);
}
}
&.pusher-connection-list {
padding-top: 50px;
}
}
}