summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2016-08-01 20:17:27 +0500
committerChristopher Speller <crspeller@gmail.com>2016-08-01 11:17:27 -0400
commitb263b0eb98678a8a55d8c8adeb9bb22323a706f6 (patch)
tree330b39eb09734c7d5c3033fc7375ccf518fdd0d1 /webapp/components/post_view
parent0b5a25a39ef5aaca7044118d6fd9abd099e40697 (diff)
downloadchat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.tar.gz
chat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.tar.bz2
chat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.zip
Multiple Ui improvements (#3678)
* Adding permalink back to mobile * Improving reply flow and fixing colorpicker on mobile * Hiding colorpicker on click only for mobile size screens
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r--webapp/components/post_view/components/post_info.jsx32
1 files changed, 15 insertions, 17 deletions
diff --git a/webapp/components/post_view/components/post_info.jsx b/webapp/components/post_view/components/post_info.jsx
index 9cb1e751d..ba6a9a982 100644
--- a/webapp/components/post_view/components/post_info.jsx
+++ b/webapp/components/post_view/components/post_info.jsx
@@ -74,24 +74,22 @@ export default class PostInfo extends React.Component {
);
}
- if (!Utils.isMobile()) {
- dropdownContents.push(
- <li
- key='copyLink'
- role='presentation'
+ dropdownContents.push(
+ <li
+ key='copyLink'
+ role='presentation'
+ >
+ <a
+ href='#'
+ onClick={this.handlePermalink}
>
- <a
- href='#'
- onClick={this.handlePermalink}
- >
- <FormattedMessage
- id='post_info.permalink'
- defaultMessage='Permalink'
- />
- </a>
- </li>
- );
- }
+ <FormattedMessage
+ id='post_info.permalink'
+ defaultMessage='Permalink'
+ />
+ </a>
+ </li>
+ );
if (isOwner || isAdmin) {
dropdownContents.push(