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
Этот коммит содержится в:
Nick Frazier
2016-12-21 09:37:07 -05:00
коммит произвёл enahum
родитель f0b74e78dd
Коммит 26e43c671c
7 изменённых файлов: 63 добавлений и 26 удалений

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

@@ -448,20 +448,14 @@
padding: 3px 0 0;
position: relative;
.control-label {
.post-error {
font-weight: normal;
margin-bottom: 0;
position: relative;
top: -5px;
&.post-error {
display: inline-block;
font-size: .85em;
@include opacity(.55);
color: rgb(51, 51, 51);
position: absolute;
top: 4px;
}
display: inline-block;
font-size: .85em;
@include opacity(.55);
position: absolute;
top: 4px;
}
}