Merge pull request #954 from basecamp/disable-comment-submit-when-empty
Disable comment submit when empty
This commit is contained in:
@@ -31,6 +31,12 @@
|
||||
position: absolute;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
/* Disable the submit button when Lexical is empty */
|
||||
+ .comment__submit {
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user