mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
Expanding dialog box for signin.
This commit is contained in:
@@ -84,8 +84,8 @@ class CommentStream extends Component {
|
||||
|
||||
const rootItemId = this.props.items.assets && Object.keys(this.props.items.assets)[0];
|
||||
const rootItem = this.props.items.assets && this.props.items.assets[rootItemId];
|
||||
const {loggedIn, user} = this.props.auth;
|
||||
return <div>
|
||||
const {loggedIn, user, showSignInDialog} = this.props.auth;
|
||||
return <div className={showSignInDialog ? 'expandForSignin' : ''}>
|
||||
{
|
||||
rootItem
|
||||
? <div>
|
||||
|
||||
@@ -7,6 +7,10 @@ body {
|
||||
padding: 0px 0px 50px 0px;
|
||||
}
|
||||
|
||||
.expandForSignin {
|
||||
min-height: 550px;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 10px;
|
||||
margin: 5px;
|
||||
|
||||
Reference in New Issue
Block a user