Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/federatedfilesharing/css/settings-personal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@
.social-facebook {
@include icon-color('social-facebook', 'federatedfilesharing', $color-black);
}

.social_sharing_buttons {
padding-left: 30px !important;
}
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://sharetodiaspora.github.io/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'>
Diaspora
</button>
Expand Down