Permalink
Browse files

Fix #1784 by updating owner link styles

  • Loading branch information...
1 parent eef9a38 commit 0151bd6a5c9273ea0a9789894bfab0bf13a0c8f3 @anurse anurse committed Jan 29, 2014
Showing with 12 additions and 2 deletions.
  1. +2 −1 src/NuGetGallery/App_Code/ViewHelpers.cshtml
  2. +10 −1 src/NuGetGallery/Content/Site.css
@@ -88,7 +88,8 @@
@GravatarImage(owner.EmailAddress, owner.Username, size)
}
@if (showName)
- {<text>@owner.Username</text>
+ {
+ <span class="owner-name">@owner.Username</span>
}
</a>
}
@@ -339,10 +339,19 @@ ul.owners {
ul.owners li { margin-bottom: 12px; }
+a.owner {
+ font-size: 1.4em;
+}
+
+ a.owner span.owner-name {
+ display: inline-block;
+ position: relative;
+ top: -0.5em;
+ }
+
a.owner:hover {
text-decoration: none;
color: #333;
- font-size: 1.4em;
}
.owner-image { margin-right: 5px; }

0 comments on commit 0151bd6

Please sign in to comment.