Skip to content

Commit

Permalink
Merge pull request #1691 from NuGet/tilovell/1014-JumpySocialButtonUI
Browse files Browse the repository at this point in the history
Fixes #1014 - whole UI jumping due to social button render issues (butto...
  • Loading branch information
analogrelay committed Nov 4, 2013
2 parents 4dda8e2 + 296f24a commit 94d9c00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@
{
<p>Requires NuGet @Model.MinClientVersion or higher.</p>
}
<div><a href="https://twitter.com/share" class="twitter-share-button" data-url="@absolutePackageUrl" data-text="Check out @Model.Id on #NuGet!">Tweet</a></div>
<div class="fb-like" data-href="@absolutePackageUrl" data-send="false" data-width="450" data-show-faces="true"></div>
<div id="socialbuttons" style="height: 60px; display: block;">
<div><a href="https://twitter.com/share" class="twitter-share-button" data-url="@absolutePackageUrl" data-text="Check out @Model.Id on #NuGet!">Tweet</a></div>
<div class="fb-like" data-href="@absolutePackageUrl" data-send="false" data-width="450" data-show-faces="true"></div>
</div>

@if (!String.IsNullOrWhiteSpace(Model.ReleaseNotes))
{
Expand Down

0 comments on commit 94d9c00

Please sign in to comment.