Commit 25d25c66e36d9973174be73e308a50d62ccbc618
1 parent
66ebaf87
Exists in
master
and in
8 other branches
Fix social dropdown at content page
Showing
3 changed files
with
8 additions
and
26 deletions
Show diff stats
src/app/components/proposal-related/proposal-related.html
... | ... | @@ -41,32 +41,7 @@ |
41 | 41 | <span>COMPARTILHE ESSA <b>PROPOSTA</b></span> |
42 | 42 | <div class="dropdown"> |
43 | 43 | <button id="dropdown-share-btn" class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="icon icon-social-share-small" aria-hidden="true"></span></button> |
44 | - <ul class="dropdown-menu dropdown-menu-right dropdown-menu-social" aria-labelledby="dropdown-share-btn"> | |
45 | - <li> | |
46 | - <a social-facebook="" custom-url="http://dialoga.gov.br" title="Compartilhar no Facebook" class="ng-isolate-scope" rel="nofollow" href="https://facebook.com/sharer.php?u=http%3A%2F%2Fdialoga.gov.br"> | |
47 | - <span class="icon-circle icon-small icon-circle-social-facebook"><span class="icon icon-social-facebook"></span></span> | |
48 | - <span class="sr-only">Compartilhar no Facebook</span> | |
49 | - </a> | |
50 | - </li> | |
51 | - <li> | |
52 | - <a social-twitter="" custom-url="http://dialoga.gov.br" status="This status is #" title="Compartilhar no Twitter" class="ng-isolate-scope" rel="nofollow" href="https://twitter.com/intent/tweet?text=This%20status%20is%20%23"> | |
53 | - <span class="icon-circle icon-small icon-circle-social-twitter"><span class="icon icon-social-twitter"></span></span> | |
54 | - <span class="sr-only">Compartilhar no Twitter</span> | |
55 | - </a> | |
56 | - </li> | |
57 | - <li> | |
58 | - <a social-gplus="" custom-url="http://dialoga.gov.br" title="Compartilhar no Google Plus" class="ng-isolate-scope" rel="nofollow" href="https://plus.google.com/share?url=http%3A%2F%2Fdialoga.gov.br"> | |
59 | - <span class="icon-circle icon-small icon-circle-social-googleplus"><span class="icon icon-social-googleplus"></span></span> | |
60 | - <span class="sr-only">Compartilhar no Google Plus</span> | |
61 | - </a> | |
62 | - </li> | |
63 | - <li> | |
64 | - <a href="mailto:contato@dialoga.gov.br?subject=Conheça o Dialoga Brasil" title="Enviar por email"> | |
65 | - <span class="icon-circle icon-small icon-circle-social-whatsapp"><span class="icon icon-social-whatsapp"></span></span> | |
66 | - <span class="sr-only">Enviar por email</span> | |
67 | - </a> | |
68 | - </li> | |
69 | - </ul> | |
44 | + <social-share class="dropdown-menu dropdown-menu-right"></social-share> | |
70 | 45 | </div> |
71 | 46 | </div> |
72 | 47 | <div class="proposal-related--ranking"> | ... | ... |
src/app/components/proposal-related/proposal-related.scss
src/app/components/social-share/social-share.scss