summaryrefslogtreecommitdiffstats
path: root/webapp/components/textbox.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/textbox.jsx')
-rw-r--r--webapp/components/textbox.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/textbox.jsx b/webapp/components/textbox.jsx
index 1189a51d8..af3a14683 100644
--- a/webapp/components/textbox.jsx
+++ b/webapp/components/textbox.jsx
@@ -115,9 +115,9 @@ export default class Textbox extends React.Component {
// Move over attachment icon to compensate for the scrollbar
if (height > maxHeight) {
- wrapper.closest('.post-body__cell').addClass('scroll');
+ wrapper.closest('.post-create').addClass('scroll');
} else {
- wrapper.closest('.post-body__cell').removeClass('scroll');
+ wrapper.closest('.post-create').removeClass('scroll');
}
}