summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:55:30 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:55:30 +0500
commit501eef0385065d8630e5ddc299f8693a507e3a29 (patch)
treef595fce5c872dd831fcc8c17d248857f3437deb1 /webapp/components
parent4c28726760836d7d25164cd1b6488819be18c38c (diff)
downloadchat-501eef0385065d8630e5ddc299f8693a507e3a29.tar.gz
chat-501eef0385065d8630e5ddc299f8693a507e3a29.tar.bz2
chat-501eef0385065d8630e5ddc299f8693a507e3a29.zip
Additional UI improvements
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/posts_view.jsx4
-rw-r--r--webapp/components/textbox.jsx4
2 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx
index 8b4b0c662..e034a592e 100644
--- a/webapp/components/posts_view.jsx
+++ b/webapp/components/posts_view.jsx
@@ -570,7 +570,9 @@ function FloatingTimestamp({isScrolling, post}) {
return (
<div className={className}>
- <span>{dateString}</span>
+ <div>
+ <span>{dateString}</span>
+ </div>
</div>
);
}
diff --git a/webapp/components/textbox.jsx b/webapp/components/textbox.jsx
index 371c581e5..63d5486a4 100644
--- a/webapp/components/textbox.jsx
+++ b/webapp/components/textbox.jsx
@@ -131,7 +131,7 @@ export default class Textbox extends React.Component {
const helpText = (
<div
style={{visibility: hasText ? 'visible' : 'hidden', opacity: hasText ? '0.5' : '0'}}
- className='help_format_text'
+ className='help__format-text'
>
<b>
<FormattedMessage
@@ -208,8 +208,8 @@ export default class Textbox extends React.Component {
dangerouslySetInnerHTML={{__html: this.state.preview ? TextFormatting.formatText(this.props.messageText) : ''}}
>
</div>
- {helpText}
<div className='help__text'>
+ {helpText}
{previewLink}
<a
target='_blank'