Add error to RHS reply box for messages > 4000 chars, consistent with create post and edit post errors (#4871)

* functionality

* CSS updates

* cleanup

* moved message length checks to Textbox component

* cleanup
Этот коммит содержится в:
Nick Frazier
2016-12-26 09:25:50 -05:00
коммит произвёл Christopher Speller
родитель 87d84dfc30
Коммит 0a1b0d051a
7 изменённых файлов: 89 добавлений и 58 удалений

Просмотреть файл

@@ -1073,6 +1073,11 @@
margin: .5em 0;
top: 0;
}
.post-error {
top: 0;
left: 0;
}
}
}

Просмотреть файл

@@ -42,6 +42,10 @@
top: 0;
left: 32px;
position: relative;
.sidebar--right & {
left: 0;
}
}
}