PLT-4943: Warn when editing a message > 4000 chars (#4789)
* added basic functionality * css fixes * css fixes part II: electric boogaloo * removed css interference with theme changes, for this and post length error
Этот коммит содержится в:
коммит произвёл
enahum
родитель
f0b74e78dd
Коммит
26e43c671c
@@ -494,7 +494,7 @@ export default class CreatePost extends React.Component {
|
||||
|
||||
let postError = null;
|
||||
if (this.state.postError) {
|
||||
const postErrorClass = 'control-label post-error' + (this.state.errorClass ? (' ' + this.state.errorClass) : '');
|
||||
const postErrorClass = 'post-error' + (this.state.errorClass ? (' ' + this.state.errorClass) : '');
|
||||
postError = <label className={postErrorClass}>{this.state.postError}</label>;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user