diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-27 14:24:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 14:24:49 +0300 |
commit | 5570661bbd79bf5cb7c5287f033155d4c8fd67f3 (patch) | |
tree | d247226d2ec5390646a66d3c82c3568eda59c4ed /apps | |
parent | dbdb9f6f11a32bc1643f302c44654076bd56db31 (diff) | |
parent | dfa14c7767c882aca1f2aad246391ab4649731dd (diff) |
Merge pull request #32139 from nextcloud/fix/31970/fix-social-sharing-buttons
fix social sharing buttons
Diffstat (limited to 'apps')
-rw-r--r-- | apps/federatedfilesharing/css/settings-personal.scss | 7 | ||||
-rw-r--r-- | apps/federatedfilesharing/templates/settings-personal.php | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/apps/federatedfilesharing/css/settings-personal.scss b/apps/federatedfilesharing/css/settings-personal.scss index 2da86fe996d..d94e06f943d 100644 --- a/apps/federatedfilesharing/css/settings-personal.scss +++ b/apps/federatedfilesharing/css/settings-personal.scss @@ -30,13 +30,14 @@ .social-diaspora { @include icon-color('social-diaspora', 'federatedfilesharing', $color-black); - padding-left: 26px; } .social-twitter { @include icon-color('social-twitter', 'federatedfilesharing', $color-black); - padding-left: 26px; } .social-facebook { @include icon-color('social-facebook', 'federatedfilesharing', $color-black); - padding-left: 26px; +} + +.social_sharing_buttons { + padding-left: 30px !important; } diff --git a/apps/federatedfilesharing/templates/settings-personal.php b/apps/federatedfilesharing/templates/settings-personal.php index 1804921aa1b..2e81ccf6497 100644 --- a/apps/federatedfilesharing/templates/settings-personal.php +++ b/apps/federatedfilesharing/templates/settings-personal.php @@ -22,15 +22,15 @@ style('federatedfilesharing', 'settings-personal'); <p> <?php p($l->t('Share it so your friends can share files with you:')); ?><br> - <button class="social-facebook pop-up" + <button class="social-facebook pop-up social_sharing_buttons" data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'> Facebook </button> - <button class="social-twitter pop-up" + <button class="social-twitter pop-up social_sharing_buttons" data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'> Twitter </button> - <button class="social-diaspora pop-up" + <button class="social-diaspora pop-up social_sharing_buttons" data-url='https://share.diasporafoundation.org/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'> Diaspora </button> |