From 0a1b0d051a1a7d83ad01502f8073d35ee5da95cc Mon Sep 17 00:00:00 2001 From: Nick Frazier Date: Mon, 26 Dec 2016 09:25:50 -0500 Subject: 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 --- webapp/sass/layout/_sidebar-right.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'webapp/sass/layout/_sidebar-right.scss') diff --git a/webapp/sass/layout/_sidebar-right.scss b/webapp/sass/layout/_sidebar-right.scss index 915bb2d09..8d5a1d044 100644 --- a/webapp/sass/layout/_sidebar-right.scss +++ b/webapp/sass/layout/_sidebar-right.scss @@ -59,6 +59,24 @@ form { padding: .5em 15px 0; } + + .post-create-footer { + @include clearfix; + font-size: 13px; + overflow: visible; + position: relative; + clear: both; + + .post-error { + font-weight: normal; + margin-bottom: 0; + display: inline-block; + font-size: .85em; + @include opacity(.55); + position: absolute; + top: -25px; + } + } } .help__format-text { -- cgit v1.2.3-1-g7c22