Skip to content

Commit

Permalink
100% Table width for Manage My Package overview (#3783)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmuehsig authored and skofman1 committed Apr 27, 2017
1 parent aaf3d8c commit b5fd9b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/NuGetGallery/Content/Site.css
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,14 @@ ul.pager {
font-size: 1.1em;
}

.sexy-table-full {
width: 100%;
}

.sexy-table-full .last {
text-align: right;
padding: 5px 15px 5px 0;
}

/* header */

Expand Down
6 changes: 3 additions & 3 deletions src/NuGetGallery/Views/Users/Packages.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ else

if (totalPackages > 0)
{
<table class="sexy-table">
<table class="sexy-table sexy-table-full">
<thead>
<tr>
<th class="first actions">Actions</th>
Expand Down Expand Up @@ -101,7 +101,7 @@ else
}
</td>

<td>@package.DownloadCount</td>
<td class="last">@package.DownloadCount</td>
</tr>
totalDownloads += package.DownloadCount;
}
Expand All @@ -118,7 +118,7 @@ else
@("You have one package.")
}
</td>
<td class="total">
<td class="total last">
@totalDownloads
</td>
</tr>
Expand Down

0 comments on commit b5fd9b0

Please sign in to comment.