From 77a76487a8e15084c8b5e8e350eb8dc7a87455ea Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 4 Apr 2017 15:15:11 -0400 Subject: PLT-5985 Cleaned up CSS for post textbox (#5974) --- webapp/components/textbox.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'webapp/components/textbox.jsx') diff --git a/webapp/components/textbox.jsx b/webapp/components/textbox.jsx index 21f784af5..f15848688 100644 --- a/webapp/components/textbox.jsx +++ b/webapp/components/textbox.jsx @@ -246,6 +246,14 @@ export default class Textbox extends React.Component { ); + let textboxClassName = 'form-control custom-textarea'; + if (this.props.emojiEnabled) { + textboxClassName += ' custom-textarea--emoji-picker'; + } + if (this.state.connection) { + textboxClassName += ' ' + this.state.connection; + } + return (