diff options
author | Aurélien <dav.aurelien@gmail.com> | 2021-03-16 23:28:08 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 4780e8c369d9c7f797ac309eb586da921d28b6de (patch) | |
tree | b3b092fecfb4af118f911e1b82349592e441a8d9 /templates | |
parent | 00f2fbcfd2191380fdd0f7cff01b01c8059e528b (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.php | 38 |
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')) ?>&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')) ?>&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> |