Skip to content

Commit 47697ab

Browse files
authored
[A11y] Fixes tag link color in search results (#8931)
* Bug fixed * Removed extra line * Simplified changes: removed 'a:not(.more-tags)' selector and made all links blue * Simplified changes further, link default color is blue, so removed css selector
1 parent 7d4c435 commit 47697ab

4 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/dist/js/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Bootstrap v3.4.1 (https://getbootstrap.com/)
3-
* Copyright 2011-2021 Twitter, Inc.
3+
* Copyright 2011-2022 Twitter, Inc.
44
* Licensed under the MIT license
55
*/
66

src/Bootstrap/less/theme/base.less

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ img.reserved-indicator-icon {
335335
line-height: @package-list-line-height;
336336
color: @gray-light;
337337

338-
a:not(.more-tags) {
339-
color: @gray-light;
340-
}
341-
342338
li {
343339
list-style: none;
344340
display: list-item;

src/NuGetGallery/Views/Shared/_ListPackage.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
{
115115
<span class="text-nowrap">
116116
<a href="@Url.Search("Tags:\"" + lastTag + "\"")" title="Search for @lastTag">@lastTag</a>
117-
<a href="@Url.Package(Model.Id, Model.UseVersion ? Model.Version : null)" title="View more tags" class="more-tags">More tags</a>
117+
<a href="@Url.Package(Model.Id, Model.UseVersion ? Model.Version : null)" title="View more tags">More tags</a>
118118
</span>
119119
}
120120
</span>

0 commit comments

Comments
 (0)