Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
fe9d9078
Commit
fe9d9078
authored
Nov 18, 2020
by
picklesrus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix styling of disabled comment box.
parent
aed0f024
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/views/preview/comment/comment.scss
src/views/preview/comment/comment.scss
+4
-3
src/views/preview/comment/compose-comment.jsx
src/views/preview/comment/compose-comment.jsx
+4
-1
No files found.
src/views/preview/comment/comment.scss
View file @
fe9d9078
...
...
@@ -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
;
}
...
...
src/views/preview/comment/compose-comment.jsx
View file @
fe9d9078
...
...
@@ -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
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment