Skip to content

Commit

Permalink
fix social sharing buttons
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Apr 25, 2022
1 parent 407fb8c commit 61dcffd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/federatedfilesharing/css/settings-personal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@
@include icon-color('social-facebook', 'federatedfilesharing', $color-black);
padding-left: 26px;
}

.social_sharing_buttons {
padding-left: 30px;
}
6 changes: 3 additions & 3 deletions apps/federatedfilesharing/templates/settings-personal.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<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>
Expand Down

0 comments on commit 61dcffd

Please sign in to comment.