mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
Fix styling of disabled comment box.
This commit is contained in:
parent
aed0f024c0
commit
fe9d9078b2
2 changed files with 8 additions and 4 deletions
|
@ -32,9 +32,6 @@
|
|||
&:not(:focus) {
|
||||
border: 2px solid $active-dark-gray;
|
||||
}
|
||||
&:disabled {
|
||||
background-color: $box-shadow-light-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -278,6 +275,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.compose-disabled {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.comments-root-reply {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
|
|
@ -186,7 +186,10 @@ class ComposeComment extends React.Component {
|
|||
</FlexRow>
|
||||
) : null }
|
||||
<div
|
||||
className="flex-row comment"
|
||||
className={classNames('flex-row',
|
||||
'comment',
|
||||
this.state.status === ComposeStatus.REJECTED_MUTE ?
|
||||
'compose-disabled' : '')}
|
||||
>
|
||||
<a href={`/users/${this.props.user.username}`}>
|
||||
<Avatar src={this.props.user.thumbnailUrl} />
|
||||
|
|
Loading…
Reference in a new issue