From c334541011f8c771418c67186e7baeca32b91731 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 26 Mar 2017 13:30:57 +0200 Subject: Add tooltip to privacy dropdown --- .../components/features/compose/components/privacy_dropdown.jsx | 5 +++-- app/assets/stylesheets/components.scss | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx b/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx index 7bbf5aef2..e54fa4d28 100644 --- a/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx +++ b/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx @@ -10,7 +10,8 @@ const messages = defineMessages({ private_short: { id: 'privacy.private.short', defaultMessage: 'Private' }, private_long: { id: 'privacy.private.long', defaultMessage: 'Post to followers only' }, direct_short: { id: 'privacy.direct.short', defaultMessage: 'Direct' }, - direct_long: { id: 'privacy.direct.long', defaultMessage: 'Post to mentioned users only' } + direct_long: { id: 'privacy.direct.long', defaultMessage: 'Post to mentioned users only' }, + change_privacy: { id: 'privacy.change', defaultMessage: 'Adjust status privacy' } }); const iconStyle = { @@ -79,7 +80,7 @@ const PrivacyDropdown = React.createClass({ return (
-
+
{options.map(item =>
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 707d688db..45f93ef90 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -1660,7 +1660,7 @@ button.active i.fa-retweet { display: none; position: absolute; left: 0; - top: 24px; + top: 27px; width: 230px; background: $color5; border-radius: 0 4px 4px 4px; -- cgit