Commit fe9d9078 authored by picklesrus's avatar picklesrus

Fix styling of disabled comment box.

parent aed0f024
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
&:not(:focus) { &:not(:focus) {
border: 2px solid $active-dark-gray; border: 2px solid $active-dark-gray;
} }
&:disabled {
background-color: $box-shadow-light-gray;
}
} }
} }
...@@ -278,6 +275,10 @@ ...@@ -278,6 +275,10 @@
} }
} }
.compose-disabled {
opacity: .5;
}
.comments-root-reply { .comments-root-reply {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
......
...@@ -186,7 +186,10 @@ class ComposeComment extends React.Component { ...@@ -186,7 +186,10 @@ class ComposeComment extends React.Component {
</FlexRow> </FlexRow>
) : null } ) : null }
<div <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}`}> <a href={`/users/${this.props.user.username}`}>
<Avatar src={this.props.user.thumbnailUrl} /> <Avatar src={this.props.user.thumbnailUrl} />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment