diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-11-12 18:09:18 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-11-12 18:09:18 +0500 |
commit | 2f95210a2907c1b74a390f143f58550cec1f77ca (patch) | |
tree | 78d20145d63bab10d158dd9bb96d8981aa0e523a /web/react/components | |
parent | 8bd5c4bf47c120fd06f9ab6329179662ab93399c (diff) | |
download | chat-2f95210a2907c1b74a390f143f58550cec1f77ca.tar.gz chat-2f95210a2907c1b74a390f143f58550cec1f77ca.tar.bz2 chat-2f95210a2907c1b74a390f143f58550cec1f77ca.zip |
UI Improvements for centre channel due to preview
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/textbox.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx index 82f830038..7d80eec08 100644 --- a/web/react/components/textbox.jsx +++ b/web/react/components/textbox.jsx @@ -252,7 +252,7 @@ export default class Textbox extends React.Component { if (e.scrollHeight - mod < 167) { $(e).css({height: 'auto', 'overflow-y': 'hidden'}).height(e.scrollHeight - mod); - $(w).css({height: 'auto'}).height(e.scrollHeight + 2 + previewLinkHeightMod); + $(w).css({height: 'auto'}).height(e.scrollHeight + 2); $(w).closest('.post-body__cell').removeClass('scroll'); if (this.state.preview) { $(ReactDOM.findDOMNode(this.refs.preview)).css({height: 'auto', 'overflow-y': 'auto'}).height(e.scrollHeight - mod); |