From aa58cca040f332eefc6ef0e98752dd0f1a770c6e Mon Sep 17 00:00:00 2001 From: unarist Date: Tue, 20 Jun 2017 01:27:07 +0900 Subject: [PATCH] Set cursor:pointer only when necessary (#3857) --- app/javascript/mastodon/components/status_content.js | 6 +++--- app/javascript/styles/components.scss | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js index 89031b3dcb..4e435b2c4e 100644 --- a/app/javascript/mastodon/components/status_content.js +++ b/app/javascript/mastodon/components/status_content.js @@ -136,7 +136,7 @@ class StatusContent extends React.PureComponent { } return ( -
+
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 4b5802ceec..1cd0eba744 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -436,14 +436,10 @@ margin-right: 5px; } -.status__content { +.status__content--with-action { cursor: pointer; } -.status__content--no-action { - cursor: default; -} - .status__content, .reply-indicator__content { font-size: 15px;