summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAurélien <dav.aurelien@gmail.com>2021-03-16 23:28:08 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit4780e8c369d9c7f797ac309eb586da921d28b6de (patch)
treeb3b092fecfb4af118f911e1b82349592e441a8d9 /templates
parent00f2fbcfd2191380fdd0f7cff01b01c8059e528b (diff)
Fix dropdown in compact view
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 9e32c8589..85e5bfc95 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -98,7 +98,7 @@
title="<?php p($l->t('Share')) ?>"
ng-click="Content.openDropdown(item.id)">
</button>
- </li>
+ <li>
<ng-container click-outside="Content.hide()">
<div
ng-controller="ShareController as Share"
@@ -141,26 +141,26 @@
</span>
</a>
- <p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
- <div class="row">
- <div ng-if="Share.isSocialAppEnabled('facebook')" class="col-4">
- <a target="_blank"
- class="icon-dropdown icon-facebook pr-5"
- ng-href="{{ Share.getFacebookUrl(item.url) }}"></a>
- </div>
- <div ng-if="Share.isSocialAppEnabled('twitter')" class="col-4">
- <a target="_blank"
- class="icon-dropdown icon-twitter pr-5"
- ng-href="{{ Share.getTwitterUrl(item.url) }}"></a>
- </div>
- <div ng-if="Share.isSocialAppEnabled('email')" class="col-4">
- <a class="icon-dropdown icon-mail pr-5"
- ng-href="mailto:?subject=<?php p($l->t('I wanted you to see this article')) ?>&amp;body=<?php p($l->t('Check out this article')) ?>{{ ::item.url }}"></a>
+ <p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
+ <div class="row">
+ <div ng-if="Share.isSocialAppEnabled('facebook')" class="col-4">
+ <a target="_blank"
+ class="icon-dropdown icon-facebook pr-5"
+ ng-href="{{ Share.getFacebookUrl(item.url) }}"></a>
+ </div>
+ <div ng-if="Share.isSocialAppEnabled('twitter')" class="col-4">
+ <a target="_blank"
+ class="icon-dropdown icon-twitter pr-5"
+ ng-href="{{ Share.getTwitterUrl(item.url) }}"></a>
+ </div>
+ <div ng-if="Share.isSocialAppEnabled('email')" class="col-4">
+ <a class="icon-dropdown icon-mail pr-5"
+ ng-href="mailto:?subject=<?php p($l->t('I wanted you to see this article')) ?>&amp;body=<?php p($l->t('Check out this article')) ?>{{ ::item.url }}"></a>
+ </div>
</div>
</div>
- </div>
- </ng-container>
- <!-- END DROPDOWN -->
+ </ng-container>
+ <!-- END DROPDOWN -->
<li class="util more" news-stop-propagation ng-hide="noPlugins">
<button class="icon-more" news-toggle-show="#actions-{{item.id}}"></button>