From 26e43c671c4252dccbf3b0e9257407d41e4297ae Mon Sep 17 00:00:00 2001 From: Nick Frazier Date: Wed, 21 Dec 2016 09:37:07 -0500 Subject: 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 --- webapp/sass/layout/_post.scss | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'webapp/sass/layout') diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index ff990f9b8..7d1125b19 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -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; } } -- cgit v1.2.3-1-g7c22